Choose the right test double for each testing scenario
Help select the right test double:
Testing scenario: ${{TESTING_SCENARIO}}
Dependencies: ${{DEPENDENCIES}}
Verification needs: ${{VERIFICATION_NEEDS}}
Recommend between:
- Dummy objects
- Stub implementations
- Spy objects
- Mock objects
- Fake implementations
Include:
- Selection criteria
- Implementation examples
- Pros/cons for scenario
- Verification patternsOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{TESTING_SCENARIO][{DEPENDENCIES][{VERIFICATION_NEEDS]