Write tests for a feature
Select useful test cases based on the expected behaviour.
Your prompt
What it helps you do
Select useful test cases based on the expected behaviour.
Where to use it
An AI tool that can work with code. Review and test its suggestions in your project.
Recommended AI tools
For writing, plans or instructions
Available features depend on each tool’s plan and account.
What information to provide
- Code or requirements
- Language and versions
- Error, target and evidence available
The full prompt specifies the information and fields you need to fill in.
What to expect
Normal, boundary and failure cases with tests suited to your tool.
What to check in the result
Check that the tests detect a real failure before trusting them.
See an example of guidance
Case: a function receives empty data. Proposal: validate the input, explain the expected behavior and check both the empty case and the correct case.
Ejemplo ilustrativo de formato; no es un resultado generado con este prompt. The answer depends on your data and the tool used.
How to use it
- Fill in your details in “Prepare your prompt” once you have access.
- Copy the prepared prompt or use the original if you prefer to edit it yourself.
- Paste it into a compatible tool and review the answer.
Price to be consulted for this prompt · Also included in PRO
Individual purchase: one payment for this listing and context. PRO: access to the entire library while your PRO access remains active.
Report a problem
RAVENPROMPTS
Find more prompts for better results.
Explore our library of prompts to create, sell, learn and work better with artificial intelligence.
Explore bank of prompts →