AGENT SKILL
writing-tests
Guidelines on writing tests for the backend
- License 许可
- MIT
- 最近更新
- 2026-06-24
- Stars
- ★ 66
- Forks
- 24
01 前言 Front Matter
- name
- writing-tests
- description
- Guidelines on writing tests for the backend
02 资源文件 4
- 参考文档references/examples.md18.5 KB
- 参考文档references/modules.md12.1 KB
- 参考文档references/optimizers.md14.6 KB
- 参考文档skill-report.json7.9 KB
03 SKILL.md 正文
When writing tests for the backend, follow these guidelines to ensure comprehensive and maintainable test coverage:
- Try to keep individual tests cases short. Setup common test data using fixtures.
- When tests need setup, use fixtures and functions to avoid repeating same steps in multiple tests.