testing-unit SKILL.md skillA
testing-unit from yonatangross/orchestkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add yonatangross/orchestkit/testing-unit@v2.1.0Pins v2.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- yonatangross/orchestkit
- Path
plugins/ork/skills/testing-unit/SKILL.md- Versions recorded
- 10
- Latest version
- v2.1.0, committed Oct 7, 2026
- First version recorded
- Jun 10, 2026
- Size
- 9,776 bytes
- Repository stars
- 299
- License
- MIT
Unit testing patterns for isolated business logic tests — AAA pattern, parametrized tests (test.each, @pytest.mark.parametrize), fixture scoping (function/module/session), mocking with MSW/VCR at network level, and test data management with factories (FactoryBoy, faker-js). Use when writing unit tests, setting up mocks, structuring test data, optimizing test speed, choosing fixture scope, or reducing test boilerplate. Covers Vitest, Jest, pytest.
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
# Unit Testing Patterns Focused patterns for writing isolated, fast, maintainable unit tests. Covers test structure (AAA), parametrization, fixture management, HTTP mocking (MSW/VCR), and test data generation with factories. Each category has individual rule files in `rules/` loaded on-demand, plus reference material, checklists, and scaffolding scripts. ## Core Principles (ALWAYS apply) 1. **AAA structure**: Every test MUST follow Arrange-Act-Assert. Use `// Arrange`, `// Act`, `// Assert` comments for clarity. 2. **Parametrize, don't duplicate**: Use `test.each` (TypeScript) or `@pytest.mark.parametrize` (Python) when testing multiple inputs. Never copy-paste the same test body with different values. 3. **Fixture scoping matters**: Use `scope="function"` (default) for mutable data. Use `scope="module"` or `scope="session"` ONLY for expensive read-only resources (DB engines, ML models). Mutable data with shared scope causes flaky tests. 4. **Speed target**: Each unit test should run under **100ms**. If it's slower, you're likely hitting I/O — mock it. …
Read the whole file at its exact version.
How to install
mdr add yonatangross/orchestkit/testing-unit@sha256:658191e6f7b76a12The line at the top of this page pins the label v2.1.0, 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.
[](https://markdownregistry.com/a/art_z6v2twrgsf7kvbxd)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Jun 10, 2026 and Oct 7, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1.0 latest | 2026-10-07 | 480e358 | 9,776 B | A | view · diff |
| v2.1.0 | 2026-09-30 | e533cd5 | 9,780 B | A | view · diff |
| v2.1.0 | 2026-09-29 | 105a980 | 9,780 B | A | view · diff |
| v2.1.0 | 2026-09-28 | 220adb4 | 9,798 B | A | view · diff |
| v2.1.0 | 2026-09-20 | 02cb935 | 9,811 B | A | view · diff |
| v2.1.0 | 2026-08-29 | 2aed0b0 | 9,811 B | A | view · diff |
| v2.1.0 | 2026-07-25 | 47b78fb | 9,811 B | A | view · diff |
| v2.1.0 | 2026-07-10 | 10a2d30 | 9,811 B | A | view · diff |
| v2.1.0 | 2026-06-20 | 5700399 | 9,811 B | A | view · diff |
| v2.1.0 | 2026-06-10 | 44f5d29 | 9,811 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 (9776 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
yonatangross/orchestkit · 299 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_z6v2twrgsf7kvbxd GET https://markdownregistry.com/api/v1/resolve?ref=yonatangross/orchestkit/testing-unit GET https://markdownregistry.com/api/v1/blob/658191e6f7b76a1295d1cac98a599796dc61e30833a61b114e563e150338e15f
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.