Review AI-written tests
Prompt
Check whether tests would fail when the behavior they cover breaks.
Project links
How to use it
- Copy the prompt and replace bracketed details with your own context.
- Use the related resource links to configure any required tools in your own environment.
- Run the prompt in your assistant and review its output against the source material.
The prompt
Review the changed tests I provide with Test Unslop where available. Identify assertions that do not verify behavior, focused or unexplained skipped tests, unawaited asynchronous assertions, and unnecessary mocks. Suggest focused replacements. Run the test suite when possible and report the actual command, executed count, and failures.
Example results
Illustrative example
Example response structure Behavior under test: state the intended outcome. Weak assertions: explain what a passing test fails to prove. Proposed checks: assert a meaningful output or state change. Execution: record the real suite result, or explain why it could not run.
Illustrative response outline, not a recorded run.
Illustrative examples show a possible response format. They are not recorded runs or verified results. Actual responses will vary.