test-unit SKILL.md skillA

test-unit from arthur-ai/arthur-engine is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add arthur-ai/arthur-engine/test-unit@git:20260407.50741a3

Pins git:20260407.50741a3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
arthur-ai/arthur-engine
Path
arthur-observability-sdk/.claude/skills/test-unit/SKILL.md
Versions recorded
2
Latest version
git:20260407.50741a3, committed Apr 7, 2026
First version recorded
Mar 17, 2026
Size
1,409 bytes
Repository stars
93
License
MIT

Run the arthur-observability-sdk unit tests. Use when you want to verify SDK logic without building a wheel or spinning up external services.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file 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

The exact contents, by fingerprint
mdr add arthur-ai/arthur-engine/test-unit@sha256:47c981cef713eb20

The line at the top of this page pins the label git:20260407.50741a3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_idgxngzcbxeqgaod.svg)](https://markdownregistry.com/a/art_idgxngzcbxeqgaod)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Mar 17, 2026 and Apr 7, 2026, about one every 21 days.

versioncommittedcommitsizeaudit
git:20260407.50741a3 latest2026-04-07 50741a3 1,409 BA view · diff
git:20260317.53f05ea2026-03-17 53f05ea 1,425 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

arthur-ai/arthur-engine · 93 stars · license MIT · pushed 2026-11-09 · 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 AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from arthur-ai/arthur-engine

maintain-codeowners SKILL.md skill
arthur-ai/arthur-engine · .claude/skills/maintain-codeowners/SKILL.md · Audit or extend .github/CODEOWNERS, the human-review gate for sensitive paths. Use when asked whether a path should be…
git:20261014.87ec476 · audit A · 93 stars
setup-genai-dev SKILL.md skill
arthur-ai/arthur-engine · .claude/skills/setup-genai-dev/SKILL.md · Set up the GenAI Engine development environment. Use when starting work on the project for the first time, or when…
git:20260407.50741a3 · audit B · 93 stars
start-genai-backend SKILL.md skill
arthur-ai/arthur-engine · .claude/skills/start-genai-backend/SKILL.md · Start the GenAI Engine backend server and frontend UI. Use when you need to launch the API server and the frontend…
git:20260407.50741a3 · audit B · 93 stars
start-genai-frontend SKILL.md skill
arthur-ai/arthur-engine · .claude/skills/start-genai-frontend/SKILL.md · Start the GenAI Engine frontend UI dev server. Use when you need to launch the React app locally.
git:20260304.0624edd · audit A · 93 stars
CLAUDE.md CLAUDE.md file
arthur-ai/arthur-engine · CLAUDE.md
git:20261016.a8bceda · audit A · 93 stars
generate-client SKILL.md skill
arthur-ai/arthur-engine · arthur-observability-sdk/.claude/skills/generate-client/SKILL.md · Regenerate the arthur_genai_client package from the GenAI Engine OpenAPI spec. Use when the GenAI Engine API has…
git:20260407.50741a3 · audit A · 93 stars
test-integration SKILL.md skill
arthur-ai/arthur-engine · arthur-observability-sdk/.claude/skills/test-integration/SKILL.md · Run the arthur-observability-sdk integration tests. These build the SDK wheel into a fresh venv and verify OTLP…
git:20260407.50741a3 · audit A · 93 stars
update-docs SKILL.md skill
arthur-ai/arthur-engine · arthur-observability-sdk/.claude/skills/update-docs/SKILL.md
git:20260317.53f05ea · audit C · 93 stars
CLAUDE.md@arthur-observability-sdk CLAUDE.md file
arthur-ai/arthur-engine · arthur-observability-sdk/CLAUDE.md
git:20260826.7bf361b · audit A · 93 stars
CLAUDE.md@genai-engine CLAUDE.md file
arthur-ai/arthur-engine · genai-engine/CLAUDE.md
git:20260731.d2c2e65 · audit A · 93 stars
CLAUDE.md@genai-engine/ui CLAUDE.md file
arthur-ai/arthur-engine · genai-engine/ui/CLAUDE.md
git:20260826.244ad05 · audit A · 93 stars
arthur-onboard-analyze SKILL.md skill
arthur-ai/arthur-engine · integrations/claude-code-skills/arthur-onboard/arthur-onboard-analyze/SKILL.md · Arthur onboarding sub-skill — Step 4: Analyze the target repository (language, framework, existing instrumentation)…
v1.0.0 · audit B · 93 stars

Every file in arthur-ai/arthur-engine

Other files named test-unit

test-unit SKILL.md skill
dhaupin/vant · models/public/vant/skills/vant-skill-test-unit/SKILL.md · Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding…
v1.0 · audit A · 15 stars
test-unit SKILL.md skill
kensaurus/skills · skills/test-unit/SKILL.md · Write unit and integration tests for a named module or change. Use when "write unit tests" or "add tests for this…
git:20260923.68c095e · audit A · 9 stars
test-unit SKILL.md skill
kensaurus/cursor-kenji · skills/test-unit/SKILL.md · Write unit and integration tests for a named module or change. Use when "write unit tests" or "add tests for this…
git:20260923.68c095e · audit A · 9 stars

Browse by kind, by grade A, or by owner.