test-unit skillA
test-unit is agent-read markdown (skill) from arthur-ai/arthur-engine: Run the arthur-observability-sdk unit tests. Use when you want to verify SDK logic without building a wheel or spinning up external services..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Run Unit Tests Unit tests cover `Arthur` initialization, env-var resolution, prompt management, context helpers, and telemetry setup. They run entirely in-process — no wheel build, no network calls. ## Prerequisites `python/src/arthur_genai_client/` must exist (it is gitignored). If missing: ```bash ./scripts/generate_openapi_client.sh generate python ./scripts/generate_openapi_client.sh install python ``` ## Run all unit tests From the `arthur-observability-sdk/python/` directory: ```bash uv run pytest tests -m unit_tests -v ``` ## Run a specific test file or test ```bash uv run pytest tests/test_client.py -v uv run pytest tests/test_client.py::test_arthur_requires_task_or_service_name -v ``` ## Run with keyword filter ```bash uv run pytest tests -m unit_tests -k "env" -v ``` ## Notes - Unit tests are marked with `@pytest.mark.unit_tests` (via `pytestmark` at the module level). - They mock at the `OTLPSpanExporter` boundary or use `InMemorySpanExporter` — no real OTLP endpoint needed. - If tests import `arthur_genai_client` and fail with `ModuleNotFoundError`, the generated client is missing (`python/src/arthur_genai_client/`). Run the generate-client skill first.
Read the whole file at its exact version.
How to install
mdr add arthur-ai/arthur-engine/test-unit@git:20260407.50741a3mdr add arthur-ai/arthur-engine/test-unit@sha256:47c981cef713eb20Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_idgxngzcbxeqgaod)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260407.50741a3 latest | 2026-04-07 | 50741a3 | 1,409 B | A | view · diff |
| git:20260317.53f05ea | 2026-03-17 | 53f05ea | 1,425 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1409 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
arthur-ai/arthur-engine · 90 stars · license MIT · pushed 2026-09-24 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_idgxngzcbxeqgaod GET https://markdownregistry.com/api/v1/resolve?ref=arthur-ai/arthur-engine/test-unit GET https://markdownregistry.com/api/v1/blob/47c981cef713eb2067cee90101a022bb5adfa8502f4cad74efc8087898d0c3ca
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.