Programowanie · Testowanie
mock-stubs-spies-test-doubles
/mock-stubs-spies-test-doubles
Izoluje testowane elementy od sieci, systemu plików i zewnętrznych zależności, używając odpowiednich atrap testowych.
Dla kogo
- Autor
- nextboxis ↗
- Repozytorium
- library-skill-agents ↗
- 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
Izoluje testowane elementy od sieci, systemu plików i zewnętrznych zależności, używając odpowiednich atrap testowych.
Oryginalny opis (EN)
Use this skill when isolating test targets from network, filesystem, and external dependencies using appropriate test doubles.
Jak działa
- When to use
- Prerequisites
- Step-by-step workflow
- Commands / code examples
- Common mistakes & pitfalls
- Verification checklist
- Related skills
Sekcje z nagłówków SKILL.md, w oryginale · 39 linii, 242 słów
Podgląd SKILL.md
--- name: mock-stubs-spies-test-doubles description: Use this skill when isolating test targets from network, filesystem, and external dependencies using appropriate test doubles. --- # Test Doubles: Mocks, Stubs & Spies ## When to use Use this skill when you need to isolating test targets from network, filesystem, and external dependencies using appropriate test doubles. ## 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 mock-stubs-spies-test-doubles echo "Executing verification check for mock-stubs-spies-test-doubles" ``` ## 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 mock-stubs-spies-test-doubles.
Migawka bazy z 13.11.2026 · wersja paczki ee7aec66b7f4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 100generating-test-doubles
Generuje mocki, stuby, spye i fake'i do izolacji zależności w testach. - 100generating-test-doubles
Generuje mocki, stuby, spye i fake'i do izolacji zależności w testach. - 100rspec-mocking
Opisuje mockowanie w RSpec: doubles, stuby, mocki, spye i strategie częściowego mockowania. - 100test-patterns
Stosuje sprawdzone wzorce testowe: Arrange-Act-Assert, Given-When-Then, Test Data Builders, Object Mother, testy parametryzowane, fixtures, spies i test doubles, by testy były czytelne i niezawodne. - 100test-design
Opisuje dobre projektowanie testów: testy behawioralne, poziomy testów, atrapy, testy E2E i antywzorce, z wyborem między stubami a mockami. - 100mock-audit
Sprawdza testy z mockami, ujawnia testy, które mockują testowaną jednostkę lub sprawdzają tylko wywołania, i zamienia je na prawdziwe zależności.