Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add vasilyu1983/AI-Agents-public --skill qa-testing-nunitgit clone --depth 1 https://github.com/vasilyu1983/AI-Agents-publicWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vasilyu1983/ai-agents-public/qa-testing-nunit)<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/qa-testing-nunit"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/qa-testing-nunit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/qa-testing-nunit"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/qa-testing-nunit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.03386 |
| Opus 5 | $0.00018 | $0.01693 |
| Sonnet 5 | $0.00007 | $0.00677 |
| Haiku 4.5 | $0.00004 | $0.00339 |
Grade A, and why
qa-testing-nunit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
QA Testing (NUnit)
Quick Start
- Classify test scope: API, component, or integration.
- Lock runtime constraints: Docker availability, framework target, and excluded suites.
- Choose fixture pattern: one fixture per controller or handler family.
- Wire dependencies: Testcontainers for databases, WireMock for external services.
- Run iteratively:
code → build → dotnet test → fix → repeat.
Quick Reference
- Classify test scope first: API, component, or integration.
- Lock runtime constraints before execution: Docker availability, framework target, and explicitly excluded suites.
- If the task mentions
dotnet test,Microsoft.Testing.Platform,global.json, adapters, or coverage/logging switches, verify the repo's current runner mode first and use current primary sources fromdata/sources.json. - Use this skill for test-suite architecture and fixture behavior, not for general service implementation or CI graph refactors.
- Default to two files per handler/use case:
<Feature>Fixture.csand<Feature>Tests.cs. - For full-cycle API tests, use controller-focused structure: one fixture per controller/test family and one base
ApiTest.cs+ApiFixture.cs(split by scenario family only when needed). - Do not translate SpecFlow/Taffy step definitions into C# line-by-line; rewrite scenario intent into idiomatic API tests.
- For API migrations, avoid one global shared setup fixture; each controller/test family fixture owns its own dependencies.
- Fixture ownership for API tests should include DB launcher + migrators + WireMock + WebApplicationFactory + client.
- Keep API fixture-shared runtime parallel-safe: fixture-level parallelism is fine, but do not enable child-test parallelism when WireMock stubs, clients, or mutable runtime state are shared.
- Why
[FixtureLifeCycle(LifeCycle.InstancePerTestCase)]pairs with[Parallelizable]: NUnit's defaultSingleInstancelifecycle shares one fixture object across every test method, so instance fields become a race condition the moment two of its tests run concurrently.InstancePerTestCasegives each test its own instance, isolating instance-field state; it does not isolatestaticfields or external shared resources (containers, WireMock servers), which is why[OneTimeSetUp]/[OneTimeTearDown]must staystaticunder this lifecycle and shared runtime still needs its own reset discipline in[SetUp]. - Reset mutable state in
[SetUp]; dispose all owned infra in[OneTimeTearDown]. - For DB bootstrapping, use the
DatabaseLauncher + MigratorContainerpattern (seeassets/nunit-database-launcher-template.cs); if the repo already has an established launcher/migrator helper, follow it instead of forking. - Use whatever migrator command the repo's existing migrator container exposes (e.g.
migrateup -m /sql); avoid custom ready-check arguments inside tests — drive readiness from the container wait strategy. - Keep migrator ordering explicit (dependency migrators first, domain migrator last) and support fixture-level optional migrator toggles when some suites do not need all DBs.
- Add explicit migrator verification tests that assert launcher startup, migrator completion/order, and required tables.
- Use iterative quality loop:
code -> build -> run tests -> fix -> repeat. - For health endpoints, use
[Test] + [TestCase] + [CancelAfter(...)]with method signature(string url, CancellationToken cancellationToken); keep[Test]together with[TestCase]to avoid NUnit analyzer issues. - Prefer analyzer-friendly NUnit usage and richer diagnostics: use
Assert.MultipleorAssert.EnterMultipleScopefor related assertions, and useTestContext.Progressor fixture diagnostics when failures need more context. - If user excludes infra-dependent suites (for example component tests requiring Docker), run feasible categories first and report exactly what remains unvalidated.
- If the task shifts into service design or backend refactoring, switch to
$software-csharp-backend. - If the task shifts into
nuke/Build.cs, test runner selection, category target wiring, or CI artifact publication, switch to$ops-nuke-cicd.
What ships with it
26 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 369 B
- assets/nunit-api-fixture-template.cs 5.0 KB
- assets/nunit-api-request-builder-template.cs 2.2 KB
- assets/nunit-api-test-case-sources-template.cs 946 B
- assets/nunit-api-tests-template.cs 1.4 KB
- assets/nunit-database-launcher-template.cs 8.0 KB
- assets/nunit-handler-fixture-template.cs 1.2 KB
- assets/nunit-handler-tests-template.cs 1.2 KB
- assets/nunit-wiremock-template.cs 1.4 KB
- data/sources.json 11 KB
- learnings.consolidated.md 592 B
- learnings.md 489 B
- references/anti-flakiness.md 1.6 KB
- references/api-testing-nunit.md 2.3 KB
- references/assertions-and-diagnostics.md 4.4 KB
- references/async-eventual-assertions.md 810 B
- references/ci-parallelism-sharding.md 1.4 KB
- references/component-testing-nunit.md 1.6 KB
- references/dependency-strategy-matrix.md 806 B
- references/fixture-pattern.md 2.6 KB
- references/infrastructure-troubleshooting.md 2.2 KB
- references/nunit-structure.md 2.9 KB
- references/test-platform-modes.md 4.9 KB
- references/testcontainers-setup.md 3.8 KB
- references/testing-templates.md 6.4 KB
- references/wiremock-setup.md 3.4 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 162 lines · 37 tokens per session scan A b0339da78083
qa-testing-nunit is a skill published in the GitHub repository vasilyu1983/AI-Agents-public (87 stars, last pushed 7d ago), licensed MIT. It adds 37 tokens to every session and 3,386 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
temporal-python-testing
Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.
nw-fp-fsharp
F# language-specific patterns, Railway-Oriented Programming, and Computation Expressions.
junit-testing
JUnit 5 testing patterns including annotations, Mockito mocking, Spring Boot test slices, MockMvc, Testcontainers integration, and parameterized tests. Use when the user is writing Java tests, setting up test infrastructure, mocking dependencies, testing Spring controllers, or running integration tests with real…
golang-testing
Provides a comprehensive guide for writing production-ready Golang tests. Covers table-driven tests, test suites with testify, mocks, unit tests, integration tests, benchmarks, code coverage, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, memory leaks, CI with GitHub…
golang-stretchr-testify
Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use whenever writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Essential for testify assertions, mock expectations, argument matchers, call…
csharp-tunit
Get best practices for TUnit unit testing, including data-driven tests.