.NET Test
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
Run a .NET project or solution’s test suite through the .NET CLI (dotnet test), scoped to whatever the caller
asked for — everything, a single class, a single method, a wildcard/namespace pattern, or a trait/category
expression. This is the .NET/C# equivalent of iru-java-test. It is a read-only reporting skill: it runs tests and
summarizes the outcome, it does not fix failures unless asked to as an explicit follow-up.
Purpose
iru-dotnet-test turns a loosely-specified request ("run the FooTests", "just the fast ones", "everything") into the
correct dotnet test --filter invocation and a concise pass/fail summary. It exists so that running and
narrowing down tests doesn’t require hand-composing filter-expression syntax each time, and so that a calling
skill (or a human) gets back a short report instead of a full raw test-run log.
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
|
No |
Names what to run: a test class, a class+method, several classes, a wildcard/namespace pattern, a trait/category
expression, or a specific project/solution path. Mapped to the correct |
None — omitting it runs the full suite ( |
The selector maps to dotnet test parameters as follows:
| What the caller wants | Parameter | Example |
|---|---|---|
Everything |
(none) |
|
A specific project or solution |
positional path |
|
One test class |
|
|
One method in a class |
|
|
Several classes/methods |
|
|
Classes matching a name pattern |
|
|
All classes in a namespace |
|
|
Excluding some classes/methods |
|
|
Tests tagged with a category/trait |
|
|
Excluding a category/trait |
|
|
Trait/category boolean expression |
|
|
Which trait/category property name applies depends on the test framework in use (MSTest: TestCategory/
Priority; NUnit: Category; xUnit: whatever key was passed to [Trait("Key","Value")]) — checked against the
test project’s <PackageReference> entries if unsure. A selector matching nothing reports "No test matches the
given testcase filter" and exits successfully having run zero tests, rather than failing the build the way Maven
Surefire does — called out explicitly in the report rather than treated as a pass.
Outputs
-
A plain-text summary in the conversation — never a written file.
-
Total tests run, passed, failed, and skipped, per test project.
-
If everything passed: a brief confirmation, without pasting the full log.
-
If there are failures: the failing test names and the relevant assertion/exception output (falling back to the
.trxlog underTestResults/if console output was truncated) — without unrelated passing-test noise. -
No source or test code is ever modified.
Execution flow
Dependencies
Invokes
None — iru-dotnet-test is a leaf skill; it only runs dotnet test and reports on its output, it does not call any
other skill in this catalog.
Invoked by
-
.NET Code One Task Group — Step 3, once per task group’s bucket, via the
iru-gate-runneragent, to run the scoped tests for every type the bucket affected (falling back todotnet test --filter "FullyQualifiedName~<TestClass>"directly if this skill is unavailable), plus a full-suite run.
Related agents
-
iru-gate-runner—iru-dotnet-code-one-task-group(see .NET Code One Task Group) always invokes this skill from inside airu-gate-runnersub-agent it spawns, not inline.
Source
SKILL.md on GitHub — the file this page was generated from.