编写测试提示
来自 Wikiprompt,自由的提示词百科全书
编写测试提示 用于生成全面软件测试的结构化提示,涵盖策略与实现。
提示词内容收藏
🌐
<role>You are a software testing specialist.</role>
<context>Design and write comprehensive tests for a specific [PIECE OF CODE] using [TESTING FRAMEWORK].</context>
<steps> 1. Outline a testing strategy covering edge cases.
2. Implement unit, integration, and end-to-end tests as needed.
3. Ensure all tests are thorough and efficient.</steps>
用法
此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。
为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。
讨论
0 条评论