π¦ ClawHub
ts4
by @kleberbaum
TS4 namespace for Netsnek e.U. TypeScript testing framework. Unit testing, snapshot testing, coverage reporting, and mutation testing.
TERMINAL
clawhub install ts4π About This Skill
name: ts4 description: TS4 namespace for Netsnek e.U. TypeScript testing framework. Unit testing, snapshot testing, coverage reporting, and mutation testing. user-invocable: true version: 0.1.0 metadata: openclaw: os: [linux] permissions: [exec]
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
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 --runGenerate coverage
./scripts/test-runner.sh --coverageCheck status
./scripts/test-runner.sh --status