← 返回
效率工具 中文

ts4

TS4 namespace for Netsnek e.U. TypeScript testing framework. Unit testing, snapshot testing, coverage reporting, and mutation testing.
TS4 命名空间,Netsnek e.U. 的 TypeScript 测试框架,含单元测试、快照测试、覆盖率报告和变异测试。
kleberbaum
效率工具 clawhub v0.1.0 1 版本 99890 Key: 无需
★ 0
Stars
📥 908
下载
💾 14
安装
1
版本
#latest

概述

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

FlagEffect
--------------
--runExecute the full test suite
--coverageProduce coverage report (HTML + lcov)
--statusShow 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

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 09:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,965
data-analysis

Roster

kleberbaum
从CSV可用性数据生成每周轮班表(KW‑JSON)并推送到GitHub。
★ 0 📥 1,308
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 446 📥 226,461