Написание интеграционных тестов без хрупкого мокирования
testing
testing is a Claude Code skill that guides writing, reviewing, and debugging tests by applying consistent patterns and avoiding common anti-patterns. It covers multiple project contexts — CLI, CLI E2E, API, the platform app, Rust crates, and the Python mitm-addon — each paired with a dedicated reference document alongside the shared testing guide. Four core principles drive the approach: integration tests target system entry points, mocks are limited to external boundaries only, real infrastructure such as actual databases and temp directories is preferred over fakes, and assertions verify behavior rather than implementation details. The skill is aimed at developers who want to avoid brittle tests, over-mocking, and false confidence in test coverage.
- #testing
- #integration-tests
- #mocking
- #test-patterns
- #vitest