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.
7-tests-units - Skill - OpenSmartRoute
Skillv1.0.0
7-tests-units
APPLY unit testing standards to verify behavior of individual classes and services WHEN writing unit tests. Focus on Given-When-Then pattern, test doubles, and comprehensive test cases.
{
"ocm": "1",
"id": "cmnemoi-sightcall-qa-api-7-tests-units-rule",
"kind": "skill",
"name": "7-tests-units",
"description": "APPLY unit testing standards to verify behavior of individual classes and services WHEN writing unit tests. Focus on Given-When-Then pattern, test doubles, and comprehensive test cases.",
"publisher": "cmnemoi",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-cursor-rules"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"APPLY unit testing standards to verify behavior of individual classes and services WHEN writing unit tests. Focus on Given-When-Then pattern, test doubles, and comprehensive test cases."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-cursor-rules",
"repository": "https://github.com/cmnemoi/sightcall-qa-api",
"path": ".cursor/rules/07-quality-assurance/7-tests-units.mdc",
"ref": "f36fa5adadf8f54f3ac85ed9c9b9eee10714d33c",
"url": "https://github.com/cmnemoi/sightcall-qa-api/blob/f36fa5adadf8f54f3ac85ed9c9b9eee10714d33c/.cursor/rules/07-quality-assurance/7-tests-units.mdc",
"key": "cmnemoi/sightcall-qa-api/.cursor/rules/07-quality-assurance/7-tests-units.mdc"
},
"applies_to": "Api/tests/unit/**/*Test.php"
},
"instructions": "Test Structure:\n- Use Given-When-Then pattern in test method names and comments\n- One test method per scenario\n- Test methods should be final\n- Group test cases using data providers\n\nTest Doubles:\n- Use fakes in memory repositories for persistence layer\n- Use spies for event dispatching verification\n- Use stubs for simple dependencies\n\nTest Coverage:\n- Test success and failure scenarios\n- Test edge cases with data providers\n- Verify state changes and event dispatching\n\nTest Setup:\n- Use setUp for common test objects\n- Create test data in private given* methods\n- Create assertions in private th",
"cost": {
"context_tokens": 204
}
}
Fetch it by URL: GET /api/v1/registry/cmnemoi-sightcall-qa-api-7-tests-units-rule/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.