alpha-core:testing-patterns
/alpha-core:testing-patterns
Układa strategię testów: piramidę testów, TDD i BDD, mockowanie, dane testowe, testy migawkowe i mutacyjne.
- Autor
- rnavarych ↗
- Repozytorium
- alpha-engineer ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 24.07.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 8
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 24.07.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
Układa strategię testów: piramidę testów, TDD i BDD, mockowanie, dane testowe, testy migawkowe i mutacyjne.
Oryginalny opis (EN)
Provides testing strategies including test pyramid, TDD/BDD, unit/integration/E2E patterns, mocking strategies, test data factories, snapshot testing, and mutation testing. Use when designing test strategies, writing tests, or improving test coverage.
Jak działa
- Core Principles
- When to Load References
Podgląd SKILL.md
--- name: alpha-core:testing-patterns description: Provides testing strategies including test pyramid, TDD/BDD, unit/integration/E2E patterns, mocking strategies, test data factories, snapshot testing, and mutation testing. Use when designing test strategies, writing tests, or improving test coverage. allowed-tools: Read, Grep, Glob, Bash --- You are a testing specialist. Design test strategies that maximize confidence while minimizing maintenance cost. ## Core Principles - Test behavior, not implementation - Follow the test pyramid: many unit tests, fewer integration, minimal E2E - Measure coverage to find gaps, not as a vanity metric (80% minimum threshold) - Always isolate tests — no shared mutable state, no ordering dependencies - Fix flaky tests within one sprint or remove them; quarantine with a ticket ## When to Load References **Test strategy and coverage thresholds:** Load `references/testing-pyramid.md` — ratios by project type, coverage types, CI sharding. **Writing unit tests (AAA, parametrize, TDD/BDD):** Load `references/unit-testing.md` — patterns in JS/TS, Python, Java, Go, .NET. **Mocking, fakes, test data factories:** Load `references/mocking-test-data.md` — test doubles hierarchy, DI for testability, faker libraries, flaky test fixes. **Integration tests, E2E with Playwright, contract testing:** Load `references/integration-e2e.md` — Testcontainers, Page Object Model, Pact contracts. **Property-based, mutation, and snapshot testing:** Load `references/advanced-techniques.md` — fast-check, Hypothesis, Stryker, snapshot anti-patterns. **Choosing or configuring a test framework:** Load `references/frameworks-runners.md` — Jest vs Vitest, pytest, JUnit 5, Go testing, xUnit, Rust. **Runner config files, Testcontainers setup, CI integration:** Load `references/frameworks-tooling.md` — jest.config.ts, vitest.config.ts, pytest pyproject.toml, GitHub Actions workflows.
Pliki w paczce (8)
- SKILL.md 2 KB
- references/advanced-techniques.md 4 KB
- references/frameworks-runners.md 5 KB
- references/frameworks-tooling.md 6 KB
- references/integration-e2e.md 4 KB
- references/mocking-test-data.md 4 KB
- references/testing-pyramid.md 3 KB
- references/unit-testing.md 5 KB
Wersje
W bazie nie ma innych skilli o nazwie alpha-core:testing-patterns.
Migawka bazy z 28.10.2026 · wersja paczki 024ae3de5eff (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
- 100testing-ops
Opisuje międzyjęzykowe strategie i wzorce testowania: piramida testów, testy jednostkowe, integracyjne i e2e, TDD, BDD, pokrycie, strategie mockowania i izolacja testów. - 100testing
Obejmuje testy jednostkowe, integracyjne, TDD/BDD, strategie mocków i automatyzację testów w wielu językach, przy projektowaniu strategii testów. - 95pact-testing-strategies
Doradza strategie testów w fazie PACT Test, czyli piramidę testów, testy jednostkowe, integracyjne i E2E oraz pokrycie kodu. - 100testing
Opisuje zasady TDD i BDD przy pisaniu testów, przeglądzie pokrycia i ustalaniu strategii oraz architektury testów. - 90test-strategy
Opisuje wzorce strategii testów: TDD, BDD, piramidę, pokrycie, priorytety, dane testowe i mutacje, przy ustalaniu podejścia do jakości w zespole. - 95javascript-testing-patterns
Wdraża strategie testowania w Jest, Vitest i Testing Library: testy jednostkowe, integracyjne i end-to-end z mockami, fixtures oraz TDD i BDD.