Help us improve
Share bugs, ideas, or general feedback.
From billy-milligan
Provides Vitest/Jest unit testing patterns: v8 coverage config, Testing Library for components, MSW HTTP mocking over jest.mock, it.each parametrized tests, async/snapshot testing, spies/mocks/stubs. Use when writing tests.
npx claudepluginhub rnavarych/alpha-engineer --plugin billy-milliganHow this skill is triggered — by the user, by Claude, or both
Slash command
/billy-milligan:unit-testingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Setting up Vitest or Jest for a new project
Provides unit testing patterns for isolated business logic: AAA structure, parametrized tests (test.each, @pytest.mark.parametrize), fixture scoping, MSW/VCR mocking, factories (FactoryBoy, faker-js). Covers Vitest, Jest, pytest.
Provides Vitest testing patterns for unit tests, mocks, spies, browser mode testing, setup, configuration, core concepts, and code examples.
Guides Vitest test writing with mocking, MSW v2 HTTP mocking, snapshot testing, and test infrastructure. Use when writing or debugging Vitest tests.
Share bugs, ideas, or general feedback.
references/vitest-config.md — globals, environment, coverage thresholds, thread pool, MSW setupreferences/business-logic-testing.md — pure function tests, AAA pattern, it.each parametrized testsreferences/msw-http-mocking.md — handlers setup, server lifecycle, per-test handler overridesreferences/async-testing.md — await patterns, rejected promise assertions, try/catch error checksreferences/testing-library-react.md — render, screen queries, userEvent vs fireEvent, role queries