testing
/testing
Pisze testy od czerwonego do zielonego, po jednym wycinku naraz, na uzgodnionych granicach, przy budowie funkcji lub naprawie błędu.
- Autor
- fynnhaupt ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 07.11.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
Pisze testy od czerwonego do zielonego, po jednym wycinku naraz, na uzgodnionych granicach, przy budowie funkcji lub naprawie błędu.
Oryginalny opis (EN)
Write tests red → green, one slice at a time, at agreed seams. Use when building a feature or fixing a bug test-first, or when another skill needs code driven by tests.
Jak działa
- Steps
Podgląd SKILL.md
--- name: testing description: Write tests red → green, one slice at a time, at agreed seams. Use when building a feature or fixing a bug test-first, or when another skill needs code driven by tests. --- # Testing Drive code with tests: each test fails first, then just enough code makes it pass. Tests check **behaviour** through public interfaces, so they survive any refactor that keeps the behaviour. A **seam** is a public interface where you observe behaviour without reaching inside. Tests live at seams only. If the project has no test runner, tell the user and stop; this skill does not set one up. Ask the user every question, including a confirmation, through your harness's interactive question tool when it has one (e.g. `AskUserQuestion` in Claude Code), with the likely replies as options; show anything they must review, such as an issue body, as text first. Only without such a tool, type the question as text. ## Steps 1. **Agree the seams.** Take them from the spec's approach, if the work has a spec that names them. Otherwise propose seams on the critical paths and complex logic, and confirm them with the user. Done when every seam you will test is named and agreed. 2. **Read [TESTS.md](TESTS.md) and [MOCKING.md](MOCKING.md)** before the first test. Done when you have read both. 3. **Loop red → green**, one slice per cycle: write one test at a seam, run it and see it fail for the expected reason, then write only enough code to make it pass. For a bug, the first test reproduces it. Let each test build on what the last cycle taught you, rather than writing all tests up front. Name tests in the project's domain words. Done when every behaviour the work needs has a passing test at a seam, and all tests of the work pass together. Refactoring stays out of the loop; it belongs to review.
Pliki w paczce (4)
- LICENSE 1 KB
- MOCKING.md 1 KB
- SKILL.md 2 KB
- TESTS.md 2 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · fynnhaupt/skills | 90 | MIT |
| iuliandita/skills | 100 | MIT |
| wrongstack/wrongstack | 100 | MIT |
| langwatch/langwatch | 100 | Apache-2.0 |
| mcouthon/agents | 100 | MIT |
| nteract/nteract | 100 | BSD-3-Clause |
| kettleofketchup/DraftForge | 100 | GPL-3.0 |
| skillberry-ai/cap-evolve | 100 | Apache-2.0 |
| TheBeardedBearSAS/claude-craft | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki cb762a9b287e (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
- 100tdd
Pisze najpierw failujący test, a potem kod, po jednym zachowaniu naraz przy budowie funkcji lub naprawie błędu. - 100tdd
Pisze testy najpierw: buduje funkcję od czerwonego do zielonego przy uzgodnionych punktach styku albo naprawia błąd testem regresji. - 100tdd
Stosuje red-green-refactor z jednym testem w cyklu, zanim zmieni kod, przy budowie funkcji lub naprawie błędu. - 90enable
Buduje po jednym wycinku pracy z testami red-before-green na uzgodnionych szwach, ciasnymi pętlami zwrotnymi i recenzją świeżym okiem przy zamknięciu każdego wycinka. - 100tdd
Buduje jedną funkcję lub jedną poprawkę w pętli czerwony, zielony, refaktor, z testami w uzgodnionych punktach styku. - 100tdd
Prowadzi przez test-driven development przy budowie funkcji i naprawie błędów test-first, z testami integracyjnymi i cyklem red-green-refactor.