提示词·免费
单元测试提示词
在 /write-tests 后粘贴一个函数或类。你会得到值得测试的用例,以及覆盖这些用例的测试文件,使用你指定的框架或该语言常用的框架。模型不会运行这些测试。
免费安装。
如果你的 Android 设备上装了 PocketCode,这会在应用里打开此页面。
预览
Write unit tests for the code below: first list the cases worth testing, then give one test file that covers them.
If nothing comes after the command, use the code shared with this message if there i
此预览已截短。安装后可获得完整内容。
1.0.0 的变更
首个版本。