Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guidelines and commands for writing and running Python tests in the Agent Framework repo, including coverage and integration tests.
36% 95%+59 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 8 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
CI enforces at least 85% line coverage for every package classified Beta or Production/Stable.
Alpha packages are report-only, and the DevUI and experimental Lab packages are excluded from
aggregate coverage enforcement. Tests should be fast, reliable, and maintainable.
Test observable behavior first, and use coverage as a backstop. Meaningful new branches, error paths,
and edge cases must be covered without coupling tests to implementation details.
Before writing new tests, inspect the existing tests and coverage for the affected behavior. For refactors and
behavior-preserving implementation changes, update existing tests when they already express the contract. Add new
tests for new behavior, regressions, or a meaningful coverage gap rather than by default for every production edit.
We run tests in two stages, for a PR each commit is tested with unit tests only (using -m "not integration"), and the full suite including integration tests is run when merging.
When an API is marked as deprecated, migrate ordinary tests to its replacement in the same change. Retain only focused tests that validate the deprecated behavior and warning; integration tests, samples, and unrelated unit tests should use the supported API.
# Run tests for all packages in parallel
uv run poe test
# Run tests for a specific workspace package
uv run poe test -P core
# Run all selected tests in a single pytest invocation
uv run poe test -A
# With coverage
uv run poe test -A -C
uv run poe test -P core -C
# Run only unit tests (exclude integration tests)
uv run poe test -A -m "not integration"
# Run only integration tests
uv run poe test -A -m integration
Direct package execution still works when you need it:
Next to this one in the catalogue, plus more from the same author.