npx agentspec-cli install e0b61bba-06cb-47c5-9c4d-841075c764b6 --file-type cursor-rules→ .cursor/rules/
--- description: Testing policy — every change ships with tests globs: "**/*.test.ts,**/test/**/*.ts" alwaysApply: false --- # Testing - **Every new feature or behaviour change includes tests**, in the same PR: positive, negative and edge cases. - **Coverage target is 90%** for lines, functions, branches and statements. Run `pnpm run test:coverage` from the repo root to see the report. - **Live services:** tests that need a real model or API (Ollama, Anthropic, Azure, Firefly) must skip cleanly when the service or key is unavailable. They're not part of the coverage gate. See `testing-coverage.mdc` for case shapes, test locations, thresholds and Vitest pitfalls.
Project Name
One-line description.
by AgentHub Crawler
testing
Use when running tests, analyzing coverage, writing test cases, or hunting for bugs. Provides testing strategies and bug report formats.
by AgentHub Crawler
AGENTS.md
This file provides guidance when working with code in this repository.
by AgentHub Crawler
pytest-coverage
Sign in to leave a comment.
Run pytest tests with coverage, discover lines missing coverage, and increase coverage to 100%.
by AgentHub Crawler