Prompt·Free
Unit test prompt
Paste a function or class after /write-tests. You get the cases worth testing and a test file that covers them, in the framework you name or the usual one for the language. The model doesn't run the tests.
Free to install.
If PocketCode is installed on your Android device, this opens the page in the app.
Preview
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
This preview is shortened. You get the full content when you install it.
Changes in 1.0.0
First version.