Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

agent-integration-testing

/agent-integration-testing

Prowadzi testy integracyjne, walidację funkcji i wykonanie planu testów.

Autor
av ↗
Repozytorium
skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
21.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 21.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Prowadzi testy integracyjne, walidację funkcji i wykonanie planu testów.

Oryginalny opis (EN)

Use when the user requests integration testing, feature validation, or test plan execution

Jak działa

  1. Overview
  2. Core Process
  3. Quick Reference
  4. Red Flags - STOP and Start Over
  5. Example Test Specification (./tests/auth-integration.md)
Sekcje z nagłówków SKILL.md, w oryginale · 66 linii, 511 słów
Podgląd SKILL.md
---
name: agent-integration-testing
description: Use when the user requests integration testing, feature validation, or test plan execution
---

# Agent Integration Testing

## Overview
This skill guides the creation and autonomous execution of verifiable integration test specifications. It ensures that tests are actionable by agents, properly documented, and systematically executed by subagents to validate features or fix failures.

## Core Process

1. **Investigate Codebase Area**
   - By default, investigate the entire codebase to understand the context.
   - If the user specifies a feature area, use `glob` and `grep` to narrow the investigation.

2. **Write Test Specification**
   - Create a test spec file at `./tests/<name>.md`.
   - Use `<name> = "integration"` unless the user specifies a particular feature area.
   - The document MUST include a **Prerequisites** section at the top detailing any setup needed before tests become runnable (e.g., environment variables, database seeding, background services).

3. **Define Verifiable Tests**
   - Each test must be written in plain English.
   - Include clear **steps to reproduce**.
   - Include a set of **expectations**.
   - **CRITICAL:** Every expectation must be strictly verifiable by an agent using available tools (e.g., shell commands, HTTP requests, reading file outputs). If a test cannot be verified by an agent, it is invalid and must be rewritten or removed.

4. **Execute Tests via Subagents**
   - Spawn subagents (using the `Task` tool or `@mention` subagent system) to run each individual test.
   - The subagent must follow the prerequisites, execute the steps, and validate the outcomes against the expectations.
   - Collect the results (Pass/Fail and logs) from the subagents.

5. **Fix Failures (Optional)**
   - If the user explicitly specifies that failures should be fixed, spawn another subagent (e.g., the `SWE` or `BUILDER` agent) to investigate and fix any noted failures.

## Quick Reference

| Action | Pattern / Command |
|--------|-------------------|
| Test File Location | `./tests/<name>.md` (default: `integration.md`) |
| Prerequisites | Must be documented at the top of the test file |
| Test Format | Plain English, Repro Steps, Verifiable Expectations |
| Execution | Spawn one subagent per test or test suite |
| Fixing | Spawn SWE/BUILDER subagent if requested by user |

## Red Flags - STOP and Start Over

- **Unverifiable Tests:** "Verify the UI looks nice" or "Check if the animation is smooth." (Agents cannot verify visual aesthetics without specific tools). **Fix:** Rewrite to check DOM elements, network responses, or file states.
- **Missing Prerequisites:** Subagents failing because the server wasn't started. **Fix:** Ensure the prerequisite section explicitly defines the commands to start dependencies.
- **Executing Tests Manually:** Running tests in the main conversation thread instead of spawning subagents. **Fix:** Dispatch parallel subagents for isolated execution.

## Example Test Specification (`./tests/auth-integration.md`)

```markdown
# Auth Integration Tests

## Prerequisites
- Start the test database: `docker compose up -d db`
- Run migrations: `npm run migrate`
- Start the server in background: `npm run start:test &`

## Test 1: User Registration
**Steps:**
1. Send a POST request to `/api/register` with payload `{"email": "test@example.com", "password": "pass"}`.

**Expectations:**
1. The HTTP response status must be `201 Created`.
2. A subsequent query to the database using `sqlite3 test.db "SELECT email FROM users WHERE email='test@example.com';"` must return the email.
```
Pliki w paczce (2)
  • README.md 1 KB
  • SKILL.md 4 KB

Wersje

W bazie nie ma innych skilli o nazwie agent-integration-testing.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 4f7032d7ff93 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100api-testing-patterns
    Podaje wzorce testowania API: testy kontraktowe, testy REST i GraphQL oraz testy integracyjne, dla strategii testów API.
  • 100qe-api-testing-patterns
    Stosuje wzorce testowania API: testy kontraktowe, REST i GraphQL oraz testy integracyjne, przy projektowaniu strategii testów API.
  • 100testing-strategy
    Opisuje metodykę testów: piramidę, deterministyczne testy jednostkowe i integracyjne oraz diagnozę niestabilnych testów.
  • 100qa-integration-testing
    Tworzy testy integracyjne sprawdzające współpracę komponentów, baz danych, API i usług zewnętrznych.
  • 100integration-test-generator
    Generuje testy integracyjne w ramach integracji API, przy pisaniu lub uruchamianiu testów.
  • 100create-test-plan
    Tworzy plan testów: planowanie testowania, przypadki testowe i strategię QA dla funkcji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.