unit-testing-principles-aaa-pattern
/unit-testing-principles-aaa-pattern
Układa czytelne, deterministyczne testy jednostkowe według wzorca Arrange-Act-Assert i dba o higienę asercji.
- Autor
- nextboxis ↗
- Repozytorium
- library-skill-agents ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 28.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 28.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
Układa czytelne, deterministyczne testy jednostkowe według wzorca Arrange-Act-Assert i dba o higienę asercji.
Oryginalny opis (EN)
Use this skill when structuring clean, deterministic unit tests following Arrange-Act-Assert principles and strict assertion hygiene.
Jak działa
- When to use
- Prerequisites
- Step-by-step workflow
- Commands / code examples
- Common mistakes & pitfalls
- Verification checklist
- Related skills
Podgląd SKILL.md
--- name: unit-testing-principles-aaa-pattern description: Use this skill when structuring clean, deterministic unit tests following Arrange-Act-Assert principles and strict assertion hygiene. --- # Unit Testing Principles & AAA Pattern ## When to use Use this skill when you need to structuring clean, deterministic unit tests following Arrange-Act-Assert principles and strict assertion hygiene. ## Prerequisites - Deep familiarity with relevant domain standards, developer tooling, or testing frameworks. - Access to testing repository, mobile simulator, or operational workspace. ## Step-by-step workflow 1. **Analyze requirements and constraints**: Review code quality gates, mobile runtime targets, or architecture patterns. 2. **Design implementation strategy**: Draft explicit interfaces, test cases, or declarative configurations. 3. **Execute implementation**: Build and integrate components according to domain best practices. 4. **Validate correctness**: Run automated test suites, verify build outputs, and inspect diagnostic logs. 5. **Establish maintenance guardrails**: Configure CI/CD quality checks, alerts, and documentation. ## Commands / code examples ```bash # Operational command and verification workflow for unit-testing-principles-aaa-pattern echo "Executing verification check for unit-testing-principles-aaa-pattern" ``` ## Common mistakes & pitfalls - Bypassing automated testing or linting checks under delivery pressure. - Neglecting to isolate side effects, leading to flaky tests or fragile architectures. - Introducing tight coupling between distinct architectural domains or deployment units. ## Verification checklist - [ ] Implementations adhere strictly to domain conventions and standards. - [ ] Automated verification passes cleanly with zero warnings or errors. - [ ] Edge cases, error paths, and resource lifecycles are explicitly handled. - [ ] Documentation and architectural decision records are updated. ## Related skills - unit-testing-principles-aaa-pattern - domain-driven-design-bounded-contexts - ci-cd-github-actions-workflows - git-interactive-rebase-squash-clean-history
Wersje
W bazie nie ma innych skilli o nazwie unit-testing-principles-aaa-pattern.
Migawka bazy z 13.11.2026 · wersja paczki a1688e7f29c1 (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
- 86unit-test
Pisze izolowane testy jednostkowe dla wskazanego pliku w schemacie Arrange-Act-Assert. - 90unit-test-design
Pomaga pisać testy jednostkowe, które dokumentują zachowanie przez jawne fazy arrange-act-assert i jedną asercję intencji. - 100testing-unit-integration
Przegląda i pisze czytelne testy jednostkowe, integracyjne i API, z wzorcem AAA, fabrykami danych i mockami. - 95tdd
Przypomina zasady TDD: cykl czerwony, zielony, refaktoryzacja, zasady FIRST oraz strukturę Arrange-Act-Assert. - 100testing
Projektuje skuteczne testy: jednostkowe czy integracyjne, przypadki brzegowe, układ arrange-act-assert i minimalny test błędu przed poprawką. - 100testing-patterns
Pisze i przegląda testy w Ruby on Rails: układ Arrange/Act/Assert, selektory semantyczne Capybara i praktyki wydajnościowe.