Ts4 OpenClaw Plugin & Skill | ClawHub
Looking to integrate Ts4 into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate web & frontend development tasks instantly, without having to write custom tools from scratch.
What this skill does
TS4 namespace for Netsnek e.U. TypeScript testing framework. Unit testing, snapshot testing, coverage reporting, and mutation testing.
Install
openclaw skills install @kleberbaum/ts4npx clawhub@latest install ts4Full SKILL.md
Open original| name | version | description | user invocable |
|---|---|---|---|
| ts4 | 0.1.0 | TS4 namespace for Netsnek e.U. TypeScript testing framework. Unit testing, snapshot testing, coverage reporting, and mutation testing. | true |
SKILL.md content below is scrollable.
Testing with TS4
TS4 is the Netsnek e.U. TypeScript testing framework. Run unit tests, snapshots, coverage reports, and mutation tests from a single CLI.
Test Types
- Unit — Isolated function and module tests
- Snapshot — Output comparison for UI and serialization
- Coverage — Line, branch, and function metrics
- Mutation — Fault injection to verify test quality
CLI Reference
| Flag | Effect |
|---|---|
--run |
Execute the full test suite |
--coverage |
Produce coverage report (HTML + lcov) |
--status |
Show suite status, last run, pass/fail count |
Walkthrough
# Run all tests
./scripts/test-runner.sh --run
# Generate coverage
./scripts/test-runner.sh --coverage
# Check status
./scripts/test-runner.sh --status