What problem does it solve? Writing unit tests that are fast, isolated, and maintainable is hard: tests often couple to implementation details, leak shared state, mock the wrong boundaries, or chase meaningless coverage numbers. This Skill provides structured guidance for writing reliable unit tests across Python, TypeScript, and Go. ## Core Features & Use Cases - Test Structure & Naming: Enforces the Arrange-Act-Assert pattern with per-language naming conventions for pytest, Jest/Vitest, and Go's testing package. - Mocking & Test Doubles: Covers stubs, mocks, spies, and fakes with concrete examples using unittest.mock, pytest-mock, jest.fn, vi.spyOn, Go interface mocking, in-memory repositories, and HTTP stubbing via responses, msw, and httptest. - TDD & Coverage Strategy: Guides the red-green-refactor cycle, parameterized/table-driven tests, and realistic line/branch coverage targets with tool configuration for pytest-cov, Jest, Vitest, and go cover. - Use Case: When implementing a new pricing module in TypeScript, follow the TDD workflow to write a failing parameterized test first, mock the external tax API with msw, implement the logic, and verify 80% branch coverage before merging. ## Quick Start Ask the AI to write unit tests for your function following the AAA pattern, mocking external dependencies and covering edge cases and error paths.