AGENT SKILL
testing
Guide for testing practices and frameworks
- License 许可
- MIT
- 最近更新
- 2026-06-24
- Stars
- ★ 67
- Forks
- 24
01 前言 Front Matter
- name
- testing
- description
- Guide for testing practices and frameworks
02 资源文件 3
- 参考文档codex/prompt.md1.2 KB
- 参考文档opencode/agent.md1.2 KB
- 参考文档skill-report.json8.3 KB
03 SKILL.md 正文
Testing Skill
This skill provides a guide for testing practices and frameworks.
Testing frameworks
- Use Deno's built-in testing framework for writing and running tests
Writing Tests
- Write tests in separate files with the
.test.tsextension in the same directory as the code being tested - All public functions and methods must have corresponding tests
- Use descriptive names for test cases to clearly indicate their purpose
- Should cover edge cases and error handling in tests
Running Tests
- Use the command
mise run testto run all tests in the project - Run tests before committing code changes to ensure no tests are failing