跳到正文
TakoAPI
返回技能列表

ts4

由 kleberbaum 提供

Web & Frontend Development
398下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

TS4 namespace for Netsnek e.U.

描述

该技能的功能

TS4 is the Netsnek e.U. TypeScript testing framework. It combines unit testing, snapshot testing, coverage reporting, and mutation testing under a single CLI tool.

Combining unit, snapshot, coverage, and mutation testing in one CLI eliminates the need to configure and coordinate multiple separate testing tools.

何时使用

  • Running a full TypeScript test suite before committing
  • Generating HTML and lcov coverage reports for a PR review
  • Checking test pass/fail status without re-running the suite
  • Validating UI component output with snapshot comparisons
  • Using mutation testing to find gaps in test coverage

示例工作流

输入

User asks: run tests and get a coverage report for my TypeScript project

智能体
  1. 1

    Runs ./scripts/test-runner.sh --run to execute the full test suite

  2. 2

    Checks output for any failing tests

  3. 3

    Runs ./scripts/test-runner.sh --coverage to generate the coverage report

  4. 4

    Reports pass/fail counts and coverage metrics to the user

输出

Full test results with pass/fail summary and an HTML + lcov coverage report

安装

clawhub install kleberbaum/ts4

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接