跳到正文
Skillpedia
测试48k · #6192

wjttc-tester

它能做什么

这个工具会运行测试计划,并生成关于结果的详细报告。它通过验证代码在不同情况下是否正常工作,帮助你找到并修复漏洞。

适用场景

  • ✓运行现有的测试计划。
  • ✓排查并修复一个已报告的漏洞。
  • ✓验证代码在边界情况或错误场景下的表现。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wjttc-tester/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wjttc-tester/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“运行 'smoke' 测试计划,并告诉我哪些测试失败了。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会执行计划中定义的测试,记录哪些通过、哪些失败,并生成包含详细信息的报告,其中包括发现的问题的原因和修复方法。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

WJTTC Championship Tester

"We break things so others never have to know they were broken."

Apply F1-inspired standards to software testing. When brakes must work flawlessly at race pace, so must the code in production. This skill executes test plans and files reports — it is the driver, not the engineer. To plan and generate the suite, use wjttc-builder.

When to use this skill

  • Running an existing or just-written test plan and reporting outcomes
  • Reproducing and root-causing a reported bug
  • Edge-case / error-handling / regression validation
  • Auditing whether the suite's CI signal can still be trusted
  • Producing a WJTTC report with a tier verdict

The WJTTC five tiers

Triage every test by blast radius. The first three set severity; Tyre and Pit cover durability and the release gate.

Tier Symbol Meaning Examples
Brake 🚨 Life-critical — failure is catastrophic data loss, auth bypass, payment errors, destructive ops without confirm
Engine ⚡ Performance-critical — wrong results / poor UX API accuracy, data transforms, calculations, format compliance, perf
Aero 🏁 Polish & edge cases — minor inconvenience UI quirks, rare message formatting, optional-feature edges, docs
Tyre 🛞 Durability under load — degradation over time stress/volume, concurrency, memory growth, large inputs
Pit 🔧 Release gate — the stop that lets you go smoke/regression suite, CI green, the WJTTC report filed

Test Brake first. If the brakes don't work, nothing else matters.

Step 0 — Signal Integrity pre-audit (run BEFORE adding/running anything new)

Red CI is a contract: it must always mean "stop, look, fix." A suite with high coverage but flaky reds is less trustworthy than a smaller suite with zero false alarms — because the team has stopped reading the reds. Fix the signal before you add more tests.

Method — classify the last 30 days of CI failures:

Bucket Definition Verdict
Real bug Red mapped to a real defect; fixed by a code change ✓ Signal worked
Flake Timing/network/concurrency noise; passed on rerun, no code change ✗ Test design defect
Infra Missing secret, runner image change, upstream dep — not the code ✗ Workflow design defect

Signal Integrity Score: SI = Real bugs / (Real bugs + Flakes + Infra) × 100

SI % Verdict Action
100% ✪ Maintain — exemplary signal
95–99% ★ Championship Annotate any flake immediately
85–94% ◇ Acceptable Schedule the flake-class fix this sprint
70–84% ● Eroding Stop adding tests — fix flakes first
<70% ○ Dead signal Block merges until signal restored

Eliminate on sight: hard absolute-time perf asserts on shared runners (expect(t).toBeLessThan(30)) → move to a non-gating workflow; network calls in the main suite → mock at the boundary; concurrency tests without explicit ordering; secret-dependent steps that hard-fail when missing → grey-skip.

The inverse rule: green CI that passes while something is broken is equally a violation. If a real bug shipped despite green, write the regression test BEFORE the fix lands.

The conversation is the real gate. CI is supporting infrastructure for the human + AI audit; flaky CI wastes the audit's bandwidth. Signal Integrity keeps CI worthy of the conversation.

Execution loop

  1. Scope — what should it do? happy path, edges, failure modes, perf targets, tier of each.
  2. Audit signal (Step 0) before trusting or extending the suite.
  3. Run each test: set up, prepare data, execute, observe actual vs expected, record pass/fail/blocked, capture evidence on failure.
  4. Reproduce every failure deterministically; root-cause it; note the fix.
  5. Tier coverage check — confirm every test is tiered:
    faf wjttc --path tests          # audit tier coverage (vendor-neutral)
    faf wjttc --strict --json       # CI gate: non-zero if any test is untiered
    
  6. Report — file the WJTTC report (below), then surface the tier verdict.

WJTTC report format

Save reports to ./wjttc-reports/ in the project under test (or a path the user specifies). Never write to an absolute/personal path. Name files YYYY-MM-DD-{project}-{feature}-tests.yaml.

---
# WJTTC Test Report
project: "project-name"

…
常见问题

“等级”(Brake、Engine、Aero、Tyre、Pit)是什么?

这些是对问题严重程度的分类,灵感来自一级方程式赛车的安全类别。Brake 表示严重问题(可能危及生命),Engine 表示重要问题(影响功能),Aero 表示外观问题,Tyre 与耐久性有关,Pit 则与发布关卡有关。

什么是“Signal Integrity”?

这是一个衡量测试结果可靠性的指标。如果测试经常因为随机原因失败(即不稳定),人们对结果的信心就会下降,而这个工具可以帮助你找出并解决这一问题。

wjttc-tester 和 wjttc-builder 有什么区别?

wjttc-builder 用于规划和创建测试,wjttc-tester 用于执行这些测试并生成报告。

详情

作者的原始描述

F1-inspired test EXECUTOR + reporter. Runs a test plan, finds and reproduces bugs, audits suite signal integrity, then files a WJTTC report (Brake/Engine/Aero/Tyre/Pit) with a tier verdict.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6192
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能