testing-strategy

Solid

Testing strategy, patterns, and quality assurance for the project. Covers vitest patterns, external integration test design (mocking transport, simulating reconnect, checksum validation for streaming sources), domain math test design (boundary values, precision edge cases), E2E multi-process testing (IPC, worker lifecycle), route testing (auth verification, input validation), database test patterns (mocking data layer), chaos test framework design, test quality metrics (mutation testing, branch coverage), React component/hook testing (RTL query priority, MSW network mocking, axe a11y), test-first TDD (RED/GREEN/REFACTOR discipline), and CI integration. Use when writing tests, reviewing test quality, designing test strategies, setting up CI pipelines, or evaluating test coverage gaps.

Testing & QA 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Testing Strategy > Examples use vitest, but the patterns apply to Jest, Mocha, pytest, Go testing, > and any mainstream test runner. ## When to Activate Read this skill when you are: - writing or reviewing tests (unit, integration, E2E multi-process, chaos) in any mainstream runner; - designing a test strategy for a new module or auditing coverage gaps; - setting up or hardening a CI pipeline that gates deploy on tests; - evaluating test QUALITY (mutation score, planted-bug reviewer evals), not just test quantity; - writing behavior-focused tests for React components, custom hooks, or pages (see `references/react-component-testing.md`); - running a test-first RED/GREEN/REFACTOR cycle for a new feature or bug fix (see `references/tdd-red-green-cycle.md`); - editing files matched by the machine triggers in the frontmatter (`**/test_*.py`, `**/*.test.{ts,tsx,js,jsx}`). The machine-first `activation_triggers` frontmatter remains the canonical auto-load rule; this section is its human-scannable mirror. ## Current State | Metric | Value | Assessment | |--------|-------|-----------| | Total tests | (measure) | Track passing/failing | | Test files | (measure) | In `src/__tests__/` or equivalent | | TypeScript errors | 0 target | `tsc --noEmit` clean | | Framework | vitest 4.x | Fast, ESM-native | | E2E multi-process tests | (measure) | Often a gap | | Stress/chaos tests | (measure) | Often a gap | | CI test execution | required | Tests must run before deploy | | Mu...

Details

Author
Canhada-Labs
Repository
Canhada-Labs/ceo-orchestration
Created
4 weeks ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category