Testing Unit

Unit testing patterns for isolated business logic tests — AAA pattern, parametrized tests (test.each, @pytest.mark.parametrize), fixture scoping (function/module/session), mocking with MSW/VCR at network level, and test data management with factories (FactoryBoy, faker-js). Use when writing unit tests, setting up mocks, structuring test data, optimizing test speed, choosing fixture scope, or reducing test boilerplate. Covers Vitest, Jest, pytest.

yonatangross Updated 303 repo stars
OrchestKit - Stop explaining your stack. Start shipping.

File contents

yonatangross/orchestkit commit 044f19ef9d

Frequently asked questions

npx get-skill add yonatangross/testing-unit