frappe-testing-unit skillA
frappe-testing-unit is agent-read markdown (skill) from impertio-studio/frappe_claude_skill_package: Use when writing unit tests, integration tests, creating test fixtures, or running tests with bench run-tests. Prevents flaky tests from missing fixtures, incorrect test isolation, and wrong test base classes. Covers frappe.tests.utils, IntegrationTestCase, UnitTestCase, test fixtures, bench run-tests flags, test naming conventions. Keywords: unit test, integration test, IntegrationTestCase, fixtures, bench run-tests, frappe.tests, test_*.py, how to write test, test fixtures, run tests, test fai.
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
# Unit & Integration Testing ## Quick Reference | Task | Command / Class | |------|----------------| | Run all tests | `bench --site test_site run-tests` | | Run tests for app | `bench --site test_site run-tests --app myapp` | | Run tests for doctype | `bench --site test_site run-tests --doctype "Sales Order"` | | Run single test method | `bench --site test_site run-tests --doctype "Sales Order" --test test_submit` | | Run tests for module | `bench --site test_site run-tests --module "myapp.mymodule.doctype.mydt.test_mydt"` | | Run with profiler | `bench --site test_site run-tests --doctype "Task" --profile` | | Run with failfast | `bench --site test_site run-tests --failfast` | | Generate JUnit XML | `bench --site test_site run-tests --junit-xml-output /path/report.xml` | | Skip fixture loading | `bench --site test_site run-tests --skip-test-records --skip-before-tests` | | Base class (v14) | `from frappe.tests.utils import FrappeTestCase` | | Unit test class (v15+) | `from frappe.tests.classes import UnitTestCase` | | Integration test class (v15+) | `from frappe.tests.classes import IntegrationTestCase` | ## Decision Tree: Which Test Base Class? ``` …
Read the whole file at its exact version.
How to install
mdr add impertio-studio/frappe_claude_skill_package/frappe-testing-unit@v2.0mdr add impertio-studio/frappe_claude_skill_package/frappe-testing-unit@sha256:965374c9c6e45696Pin 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_zgdonxvnh4zsv43l)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.0 latest | 2026-03-30 | d83dc82 | 12,326 B | A | view · diff |
| v2.0 | 2026-03-30 | 875ff50 | 12,243 B | A | view · diff |
| v2.0 | 2026-03-20 | ec51f9e | 12,252 B | A | view · diff |
| v2.0 | 2026-03-20 | bb8f8c3 | 883 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 (12326 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
impertio-studio/frappe_claude_skill_package · 182 stars · license NOASSERTION · pushed 2026-09-17 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zgdonxvnh4zsv43l GET https://markdownregistry.com/api/v1/resolve?ref=impertio-studio/frappe_claude_skill_package/frappe-testing-unit GET https://markdownregistry.com/api/v1/blob/965374c9c6e4569672d0b3121a28b1add15c6655c4e2a2cc01a2cdb5fdd21cfe
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.