test-tier-selection
/test-tier-selection
Dobiera poziom testów dla zmiany (jednostkowy, integracyjny lub E2E) na podstawie jej zakresu, bez uruchamiania czegokolwiek.
- Autor
- laurigates ↗
- Repozytorium
- claude-plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 24.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 24.10.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
Dobiera poziom testów dla zmiany (jednostkowy, integracyjny lub E2E) na podstawie jej zakresu, bez uruchamiania czegokolwiek.
Oryginalny opis (EN)
Decide which test tier a change needs — unit, integration, or E2E — from its scope; runs nothing itself. Use when deciding how much of the suite to run after a change.
Jak działa
- When to Use This Skill
- Test Tier Definitions
- Decision Matrix
- Escalation Signals
- Commands by Tier
- Agent Consultation Triggers
- Quick Reference
- Activation Triggers
Podgląd SKILL.md
--- created: 2025-12-16 modified: 2026-09-05 reviewed: 2026-04-25 name: test-tier-selection description: "Decide which test tier a change needs — unit, integration, or E2E — from its scope; runs nothing itself. Use when deciding how much of the suite to run after a change." user-invocable: false allowed-tools: Read, Glob, Grep --- # Test Tier Selection Automatic guidance for selecting appropriate test tiers based on change context and scope. ## When to Use This Skill | Use this skill when... | Use test-consult instead when... | |---|---| | Mechanically deciding which tier to run for a given change | Reviewing overall test pyramid balance or strategy | | Mapping change type (refactor, API, UI) to required tiers | Designing a new feature's test approach | | Justifying why an E2E run is or isn't needed | Diagnosing flaky tests in an existing suite | | Picking between test-quick, test-run, and test-full | Setting up a project's test infrastructure (use test-setup) | ## Test Tier Definitions | Tier | Duration | Scope | When to Run | |------|----------|-------|-------------| | **Unit** | < 30s | Single function/module | After every code change | | **Integration** | < 5min | Component interactions | After feature completion | | **E2E** | < 30min | Full user flows | Before commit/PR | ## Decision Matrix ### Change Type → Test Tier | Change Type | Unit | Integration | E2E | |-------------|------|-------------|-----| | Single function fix | Required | Skip | Skip | | New feature (1 file) | Required | Required | Skip | | Multi-file feature | Required | Required | Required | | Refactoring | Required | Required | Optional | | API changes | Required | Required | Required | | UI changes | Required | Optional | Required | | Bug fix (isolated) | Required | Optional | Skip | | Database changes | Required | Required | Required | | Config changes | Required | Required | Optional | ## Escalation Signals **Escalate to Integration when:** - Changes span multiple files - Business logic affected - Service boundaries modified - Database queries changed **Escalate to E2E when:** - User-facing features modified - Authentication/authorization changes - Critical path functionality - Before creating PR ## Commands by Tier ```bash # Tier 1: Unit (fast feedback) /test:quick # Tier 2: Integration (feature completion) /test:full --coverage # Tier 3: E2E (pre-commit) /test:full ``` ## Agent Consultation Triggers **Consult `test-architecture` agent when:** - New feature module created - Coverage drops > 5% - > 3 flaky tests detected - Framework questions arise - Test strategy needs adjustment **Consult `test-runner` agent when:** - Need test execution with analysis - Multiple failures to diagnose - Want concise failure summary **Consult `system-debugging` agent when:** - Integration test failures with unclear cause - Environment/timing issues - Flaky tests related to concurrency ## Quick Reference ### After Small Change ``` 1. Run /test:quick 2. If pass: Continue working 3. If fail: Fix immediately ``` ### After Feature Completion ``` 1. Run /test:full --coverage 2. Check coverage targets met 3. If gaps: /test:consult coverage ``` ### Before Commit/PR ``` 1. Run /test:full 2. All tiers must pass 3. Review coverage report ``` ### For New Features ``` 1. /test:consult new-feature 2. Write tests (TDD) 3. Run /test:quick during development 4. Run /test:full before PR ``` ## Activation Triggers This skill auto-activates when: - User mentions "test", "run tests", "testing" - After code modification by Claude - During TDD workflow - When `/test:*` commands invoked - When discussing test strategy
Wersje
W bazie nie ma innych skilli o nazwie test-tier-selection.
Migawka bazy z 13.11.2026 · wersja paczki 08a7947ae5c8 (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
- 90testing-tiers
Dobiera poziom testu do zmiany: jednostkowy, integracyjny, E2E lub snapshot, i zaleca testowanie prawdziwej ścieżki wejścia. - 100testing
Pisze lub poprawia testy w LangWatch: poziom jednostkowy lub integracyjny, testy komponentów, fixtury, testy regresji i opisy testów. - 100test-suite-health-audit
Mierzy stan zestawu testów: klasyfikację plików na warstwy, proporcje piramidy, wskaźnik niestabilności i zwrot z testów, a potem wydaje werdykt. - 100testing-principles
Pomaga wybrać zakres testów dla zmiany i ocenić jakość testów, także testów E2E w przeglądarce. - 90prove-it-then-break-it
Sprawdza każdą zmianę przed uznaniem jej za gotową: testy jednostkowe, test integracyjny na prawdziwej powierzchni i przegląd adwersaryjny. - 100phpunit-integration-to-unit-migrating
Sprawdza, czy test integracyjny Shopware powinien być testem jednostkowym, i przenosi go do właściwego zestawu.