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.
testing - Skill - OpenSmartRoute
Skillv1.0.0
testing
Include at least: - 1 test for expected use - 1 edge case - 1 failure case
Instruction file imported from Kelvinm/adf (.github/instructions/testing.instructions.md). Copyright stays with the author.
Testing Instructions
description: Testing standards and requirements for Python projects
applyTo: '**/*.py'
Testing Requirements
Always create Pytest unit tests for new features (functions, classes, routes, etc)
After updating any logic, check whether existing unit tests need to be updated. If so, do it
Tests should live in a /tests folder mirroring the main app structure
Test Coverage Standards
Include at least:
1 test for expected use
1 edge case
1 failure case
Test Organization
Mirror the main application structure in the /tests folder
Use descriptive test names that explain what is being tested
Group related tests using classes when appropriate
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/kelvinm-adf-testing-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.
kelvinm-adf-testing-instructions.ocm.jsonjson
{
"ocm": "1",
"id": "kelvinm-adf-testing-instructions",
"kind": "skill",
"name": "testing",
"description": "Include at least: - 1 test for expected use - 1 edge case - 1 failure case",
"publisher": "Kelvinm",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Include at least: - 1 test for expected use - 1 edge case - 1 failure case"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/Kelvinm/adf",
"path": ".github/instructions/testing.instructions.md",
"ref": "59937c63f1e91c2c881b2948f35d79a6fa11b2fa",
"url": "https://github.com/Kelvinm/adf/blob/59937c63f1e91c2c881b2948f35d79a6fa11b2fa/.github/instructions/testing.instructions.md",
"key": "Kelvinm/adf/.github/instructions/testing.instructions.md"
}
},
"instructions": "# Testing Instructions\n\n---\ndescription: Testing standards and requirements for Python projects\napplyTo: '**/*.py'\n---\n\n## Testing Requirements\n\n- **Always create Pytest unit tests for new features** (functions, classes, routes, etc)\n- **After updating any logic**, check whether existing unit tests need to be updated. If so, do it\n- **Tests should live in a `/tests` folder** mirroring the main app structure\n\n## Test Coverage Standards\n\nInclude at least:\n- 1 test for expected use\n- 1 edge case \n- 1 failure case\n\n## Test Organization\n\n- Mirror the main application structure in the `/tests` fold",
"cost": {
"context_tokens": 179
}
}
Fetch it by URL: GET /api/v1/registry/kelvinm-adf-testing-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.