test-writer.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "id": "test-writer",
  3. "name": "测试编写技能",
  4. "description": "帮助编写单元测试、集成测试和端到端测试。支持多种测试框架,生成测试用例、测试数据和测试报告。适用于确保代码质量和功能正确性。",
  5. "steps": [
  6. {
  7. "id": 1,
  8. "name": "**全面性**",
  9. "description": "**全面性**: 覆盖正常流程、边界情况和异常情况",
  10. "type": "instruction"
  11. },
  12. {
  13. "id": 2,
  14. "name": "**独立性**",
  15. "description": "**独立性**: 每个测试应独立运行,不依赖其他测试",
  16. "type": "instruction"
  17. },
  18. {
  19. "id": 3,
  20. "name": "**可重复性**",
  21. "description": "**可重复性**: 测试结果应一致,不受环境影响",
  22. "type": "instruction"
  23. },
  24. {
  25. "id": 4,
  26. "name": "**清晰性**",
  27. "description": "**清晰性**: 测试代码应清晰易懂",
  28. "type": "instruction"
  29. },
  30. {
  31. "id": 5,
  32. "name": "**快速性**",
  33. "description": "**快速性**: 测试应快速执行",
  34. "type": "instruction"
  35. }
  36. ],
  37. "inputs": [],
  38. "outputs": []
  39. }