Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

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.

Licencja
MIT
Ostatnia zmiana repozytorium
28.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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 28.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

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

  1. When to use
  2. Prerequisites
  3. Step-by-step workflow
  4. Commands / code examples
  5. Common mistakes & pitfalls
  6. Verification checklist
  7. Related skills
Sekcje z nagłówków SKILL.md, w oryginale · 39 linii, 241 słów
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.

Uwagi i zgłoszenia

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