qa-unit-testing
/qa-unit-testing
Tworzy testy jednostkowe izolowanych funkcji i modułów, z zależnościami zamockowanymi dla czystej logiki.
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Tworzy testy jednostkowe izolowanych funkcji i modułów, z zależnościami zamockowanymi dla czystej logiki.
Oryginalny opis (EN)
Creates unit tests for isolated functions and modules. Use when testing utility functions or pure logic in isolation with mocked dependencies. Not for test-first React component development (use test-first-react).
Jak działa
- Purpose
- When to Use
- Step-by-Step Instructions
- Examples
Podgląd SKILL.md
--- name: qa-unit-testing description: Creates unit tests for isolated functions and modules. Use when testing utility functions or pure logic in isolation with mocked dependencies. Not for test-first React component development (use test-first-react). metadata: collection: vibe.md group: qa --- # QA Unit Testing ## Purpose Tests individual functions, utilities, and modules in isolation with mocked dependencies. ## When to Use - Writing unit tests for pure functions, algorithms, and isolated application logic. ## Step-by-Step Instructions 1. **Locate Test Framework:** Identify the project's test runner (e.g., Jest, Vitest, PyTest) and test execution command. 2. **Analyze Logic:** Identify inputs, expected outputs, pure functions, and edge conditions. 3. **Setup Mocks:** Explicitly mock external dependencies, databases, network calls, and timers to isolate the unit under test. 4. **Implement Tests:** Write unit tests covering happy paths, negative inputs, and boundary values. 5. **Execute & Verify:** Run the test suite using the project's CLI command to confirm passing tests. 6. **Stop Condition:** If a unit test fails due to a bug in the target code, stop and report the bug to the user. Do NOT modify the target code logic or weaken test assertions without explicit user instructions. ## Examples **User:** "Add unit tests for `formatCurrency`." **Agent:** Identifies Jest runner, creates test cases covering positive values, zero, negative numbers, and invalid inputs, runs Jest, and verifies all pass.
Wersje
W bazie nie ma innych skilli o nazwie qa-unit-testing.
Migawka bazy z 13.11.2026 · wersja paczki e308e4d95446 (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
- 100uw-analyze-unit-tests
Analizuje pokrycie testami jednostkowymi, ich wzorce i kod testów izolowanych komponentów w ramach odwrotnej inżynierii. - 100generating-unit-tests
Generuje testy jednostkowe z kodu źródłowego, obejmujące ścieżki typowe, przypadki brzegowe i warunki błędów, dla funkcji, klas i modułów. - 100generating-unit-tests
Generuje testy jednostkowe z kodu źródłowego, obejmujące ścieżki typowe, przypadki brzegowe i warunki błędów, dla funkcji, klas i modułów. - 95unit-testing
Pisze testy jednostkowe dla funkcji i modułów, mockuje zewnętrzne zależności i pilnuje progu pokrycia w Pythonie, TypeScript lub Go. - 95move-unit-testing
Pisze testy jednostkowe dla modułów Move na Sui: nazwy funkcji testowych, asercje, atrybuty testów i sprzątanie. - 90integration-testing
Tworzy testy współpracy komponentów: usługa z prawdziwą bazą, API z realnymi zależnościami i testy kontraktowe, gdy testy jednostkowe przechodzą, a system nadal nie działa.