Write or run tests against the NSail harnesses — which layer owes the proof (Architecture, Stack, kit WebApi.Tests on Postgres, bUnit, Apps, browser E2E), HandlerHost, the Release-build E2E host, Api.Send, culture and viewport. Use for a kit, bUnit or E2E test, deciding whether a fix earns a regression test, a flaky or instantly-failing suite, or reporting test totals.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Test Harness?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nsail-ar-test-harness)
---
name: test-harness
description: Write or run tests against the NSail harnesses — which layer owes the proof (Architecture, Stack, kit WebApi.Tests on Postgres, bUnit, Apps, browser E2E), HandlerHost, the Release-build E2E host, Api.Send, culture and viewport. Use for a kit, bUnit or E2E test, deciding whether a fix earns a regression test, a flaky or instantly-failing suite, or reporting test totals.
---
# Test harness
The doctrine is `${CLAUDE_PLUGIN_ROOT}/doctrine/testing.md`; this skill says which part of it to
open. Each layer proves one kind of truth, and a test in the wrong layer proves nothing twice.
| You are about to | Read in testing.md |
|---|---|
| Pick the layer a proof belongs to (Architecture, Stack, kit `WebApi.Tests`, bUnit, Apps, E2E) | The layer map — the Apps layer is where defects pool |
| Decide whether a fix earns a test, or a ruling a scenario | Rulings 6, 7 and 9 — a test per contract, never per anecdote |
| Write a kit handler test (`HandlerHost.Start`, fresh Guids, `Handsets.Draw()`, the flat wide policy, a gate-proof collection) | Harness lore: Every harness, Handler harnesses |
| Write a bUnit test (real DOM events, waiting for an act) | Harness lore: bUnit; ruling 8 |
| Write or run a browser suite (the Release host it builds every run, `Api.Send`, culture and viewport) | Harness lore: Browser suites (E2E); ruling 13 |
| Chase a suite failing instantly on connects (`pg_locks`, `NSAIL_TESTDB_CONCURRENCY`, `RetryingLazy`) | Harness lore: Handler harnesses |
| Report totals | The layer map, its end — the tree's count, never a number from memory; no coverage target |