Stack-agnostic testing principles, strategies, and patterns for building reliable test suites. Use when the user asks to design a test strategy, choose between unit/integration/e2e tests, apply TDD, fix flaky tests, improve test quality, use test doubles (mocks, stubs, fakes, spies), or review tests for antipatterns. Covers the testing pyramid, test design heuristics, arrange-act-assert structure, test isolation, property-based testing, and common testing pitfalls.
$npx -y skills add krzysztofsurdy/code-virtuoso --skill testingInstalls into the current project.
Run `npx skills use "https://github.com/krzysztofsurdy/code-virtuoso" --skill "krzysztofsurdy/code-virtuoso/testing"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/krzysztofsurdy/code-virtuoso" that are relevant to the current task. Run `npx skills add "https://github.com/krzysztofsurdy/code-virtuoso"` and select the relevant skills, then follow their instructions.