testing
Skill56 starsChanged 4 months agoMITView on GitHub
Provides guidance and instructions for writing, running and filtering tests.
194 other projects use a version of this, 6 of them edited.
Adopted by
Most recently taken up by
- ishandutta2007/Awesome-Claude-Skillstheir own version, first seen Nov 8, 2026
- steerlabs/opensteertheir own version, first seen Nov 8, 2026
- timmo001/notestheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- kortix-ai/sunatheir own version, first seen Nov 8, 2026
- AndersonAndrad/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use assign-copilot, build-and-dependency and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
zetaloopSkillassign-copilot
Assigns a GitHub issue to the Copilot coding agent, optionally specifying a custom agent. Use this when asked to assign an issue to Copilot or delegate an issue to CCA.
Also in 3 projects that use this
NVIDIA-NeMoSkillbuild-and-dependency
Dev environment setup for Megatron Bridge — container-based development, uv package management, lockfile regeneration, adding dependencies, Slurm container usage, and common build pitfalls.
Also in 3 projects that use this
timmo001Skillchangeset-scope
Keep all scoped code work contained to the user-defined changeset. Use for implementation, fixes, diagnosis, refactoring, cleanup, and review when explicit instructions, named files, diffs, branches, pull requests, or injected work scopes define the boundary.
Also in 3 projects that use this
JetBrainsSkillmodule-dependencies
Add or modify IntelliJ module dependencies in `.iml` files.
Also in 3 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- microsoft/vs-threading★ 1k67% same
- microsoft/vs-streamjsonrpc★ 94337% same
- microsoft/vs-mef★ 46967% same
- microsoft/vs-validation★ 14497% same
- microsoft/vs-servicehub★ 3152% same
- microsoft/vssdktestfx★ 2397% same
Wrote their own version · 188
- modelcontextprotocol/servers★ 92ksame name
- lobehub/lobe-chat★ 84ksame name
- lobehub/lobehub★ 84ksame name
- penpot/penpot★ 62ksame name
- meteor/meteor★ 45ksame name
- iOfficeAI/AionUi★ 34ksame name
- garrytan/gbrain★ 32ksame name
- OpenZeppelin/openzeppelin-contracts★ 27ksame name
- tursodatabase/turso★ 25ksame name
- redis/go-redis★ 22ksame name
178 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bundle-dependency-prsSkill
- update-library-templateSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 62
Use --treenode-filter to select tests by assembly, namespace, class, method, or property
“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
IMPORTANT: This repository uses TUnit with Microsoft.Testing.Platform (MTP v2). Traditional --filter syntax does NOT work. Use the options below instead.
- There should generally be one test project (under the
testdirectory) per shipping project (under thesrcdirectory). Test projects are named after the project being tested with a.Testssuffix. - Tests use TUnit with Microsoft.Testing.Platform (MTP v2), while retaining xUnit assertions. Traditional VSTest
--filtersyntax does NOT work.
Running Tests
There may be unstable tests that are attributed as such.
Running the dotnet-test-cloud.ps1 script will execute all previously built tests except the unstable ones.
The commands below will not automatically exclude unstable tests, but you may do so by adding a parameter to filter out those that set their TestCategory property to FailsInCloudTest.
Run all tests (from the root of the repository):
dotnet test --no-build -c ReleaseTo run a specific test project, change to that project's directory first; the commands below then target it without hard-coding its path.
Run tests for a specific test project (within that test project's directory):
dotnet test --no-build -c ReleaseRun a single test method:
dotnet test --no-build -c Release -- --treenode-filter "/*/*/ClassName/MethodName"Run all tests in a test class:
dotnet test --no-build -c Release -- --treenode-filter "/*/*/ClassName/*"Run tests with wildcard matching (supports wildcards at beginning and/or end):
dotnet test --no-build -c Release -- --treenode-filter "/*/*/*/*Pattern*"Run tests with a specific property:
dotnet test --no-build -c Release -- --treenode-filter "/*/*/*/*[PropertyName=value]"Run tests for a specific framework only:
dotnet test --no-build -c Release --framework net472List all available tests without running them:
dotnet run --no-build -c Release --framework net472 -- --list-testsKey points about test filtering with TUnit / MTP v2:
- Options after
--are passed to the test runner, not todotnet test - Use
--treenode-filterto select tests by assembly, namespace, class, method, or property - Traditional VSTest
--filterexpressions do NOT work - Wildcards
*are supported in tree node segments - See
--helpfor query filter language for advanced scenarios
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

