Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Regression Testing
Workflow
- Reproduce the bug or identify the failing assertion/CI job.
- Trace the root cause in the smallest affected module.
- Patch the cause, not only the symptom.
- Add or update a regression test in the existing test area for that feature.
- Run the focused test first, then the smallest broader check that covers the touched surface.
TypeScript Tests
- Tests usually live under
ts/packages/<package>/test/. - Use Vitest patterns already present in the package.
- Prefer adding to an existing feature test file over creating one-off regression files.
- Useful commands:
pnpm --filter @composio/<package> test
pnpm --filter @composio/<package> typecheck
pnpm test
Python Tests
- Tests live under
python/tests/. - Shared fixtures live in
python/tests/conftest.py. - Use pytest markers that match the affected package or provider.
- Useful commands from
python/:
make chk
make tst
make snt
pytest tests/test_<feature>.py
PR Notes
In the PR body, name the bug, the regression test, and the verification command output. If a test is intentionally skipped, say why.