Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Prompt file imported from RobertMLayne/pro-ref (.github/prompts/generate-tests.prompt.md). Fill in {{selectedText}} before use. Copyright stays with the author.
Given the selected code ({{selectedText}}), generate tests that:
cover success, failure, and edge cases
use deterministic data and assert specific outcomes
avoid mocking unnecessary internals
Return the test file path and diff.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
Given the selected code (`{{selectedText}}`), generate tests that:
- cover success, failure, and edge cases
- use deterministic data and assert specific outcomes
- avoid mocking unnecessary internals
Return the test file path and diff.
Manifest
The prompt text and its fill-in variables. Copy it or fetch it by URL from your own code.