Skip to content
Back to skills

Test Harness

ASecurity

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.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 23, 2026
developmenttestingapi

Works with

  • api

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add nsail-ar/nsail-stack --skill test-harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nsail-ar-test-harness/badge)](https://www.skillsdirectory.com/skills/nsail-ar-test-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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 |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.