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.
Instruction file imported from remyxai/outrider (.github/instructions/tests.instructions.md). Copyright stays with the author.
Test conventions
Pin behavior, not code shape. A test that asserts "input X → output Y" survives refactors. A test that asserts "function foo is called" breaks on unrelated changes.
Monkeypatch external calls. subprocess.run, gh_api, urllib.request.urlopen, Claude CLI. Grep existing tests for monkeypatch.setattr for patterns.
One file per concern.test_bot_token_default.py, test_backend_rates.py, test_inline_refinement_chain.py — mirror the src/ area they cover.
Fixtures at module level. Not conftest.py unless truly cross-cutting; keeps the test file self-contained.
Full suite must stay green.python3 -m pytest tests/ -q before every commit.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/remyxai-outrider-tests-instructions/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
remyxai-outrider-tests-instructions.ocm.jsonjson
{
"ocm": "1",
"id": "remyxai-outrider-tests-instructions",
"kind": "skill",
"name": "tests",
"description": "Conventions for adding or modifying tests.",
"publisher": "remyxai",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Conventions for adding or modifying tests."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/remyxai/outrider",
"path": ".github/instructions/tests.instructions.md",
"ref": "1e0ad0cb665041283214642c4c7012f86b41bdf4",
"url": "https://github.com/remyxai/outrider/blob/1e0ad0cb665041283214642c4c7012f86b41bdf4/.github/instructions/tests.instructions.md",
"key": "remyxai/outrider/.github/instructions/tests.instructions.md"
},
"applies_to": "tests/**/*.py"
},
"instructions": "# Test conventions\n\n- **Pin behavior, not code shape.** A test that asserts \"input X → output Y\" survives refactors. A test that asserts \"function foo is called\" breaks on unrelated changes.\n- **Monkeypatch external calls.** subprocess.run, gh_api, urllib.request.urlopen, Claude CLI. Grep existing tests for `monkeypatch.setattr` for patterns.\n- **One file per concern.** `test_bot_token_default.py`, `test_backend_rates.py`, `test_inline_refinement_chain.py` — mirror the src/ area they cover.\n- **Fixtures at module level.** Not conftest.py unless truly cross-cutting; keeps the test file self-con",
"cost": {
"context_tokens": 173
}
}
Fetch it by URL: GET /api/v1/registry/remyxai-outrider-tests-instructions/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.