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

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.

04 同仓库更多 Skills