CtrlK
BlogDocsLog inGet started
Tessl Logo

test-quality-analysis

Detect test smells, overmocking, flaky tests, and coverage issues. Analyze test effectiveness, maintainability, and reliability. Use when reviewing tests or improving test quality.

Install with Tessl CLI

npx tessl i github:secondsky/claude-skills --skill test-quality-analysis
What are skills?

89

1.07x

Quality

86%

Does it follow best practices?

Impact

96%

1.07x

Average score across 3 eval scenarios

SKILL.md
Review
Evals

Evaluation results

97%

2%

Test Suite Code Review: Shopping Cart Module

Overmocking detection and mock guidelines

Criteria
Without context
With context

Identifies overmocking

100%

100%

Mock count critique

70%

70%

I/O boundary rule

100%

100%

Real impl recommendation

100%

100%

Behavior vs implementation

80%

100%

Weak assertion critique

100%

100%

Corrected test provided

100%

100%

Corrected assertion specificity

100%

100%

Correct mock target in fix

100%

100%

No mentions eval/simulation

100%

100%

Without context: $0.2301 · 1m 21s · 7 turns · 8 in / 4,470 out tokens

With context: $0.3317 · 1m 43s · 12 turns · 12 in / 5,080 out tokens

97%

12%

Fix Unreliable Tests: User Dashboard

Flaky tests, async handling, and assertion quality

Criteria
Without context
With context

Fix missing await (Test 1)

100%

100%

Remove setTimeout (Test 1 or 4)

100%

100%

Strengthen dashboard assertions (Test 2)

100%

100%

Semantic selector fix (Test 3)

70%

100%

Error assertion specificity (Test 4)

100%

100%

Behavior assertion added (Test 5)

100%

100%

AAA structure

0%

75%

No spurious setTimeout remaining

100%

100%

CHANGES.md accuracy

100%

100%

Test names describe behavior

33%

83%

No eval/simulation mentions

100%

100%

Without context: $0.2092 · 1m 1s · 8 turns · 9 in / 3,460 out tokens

With context: $0.3202 · 1m 19s · 15 turns · 63 in / 4,252 out tokens

94%

7%

Write Tests for a Payment Processing Module

Coverage goals, error paths, and test completeness

Criteria
Without context
With context

Error path: zero amount

100%

100%

Error path: empty recipient

100%

100%

Error path: gateway failure

100%

100%

Boundary: fee rates for all currencies

100%

100%

Specific assertions on result

100%

100%

Mocks only gatewayClient

100%

100%

AAA pattern used

75%

100%

100% critical path target

100%

100%

bun coverage command

50%

100%

80% general target mentioned

0%

0%

Test names describe behavior

100%

100%

No eval/simulation mention

100%

100%

Without context: $0.6083 · 2m 10s · 24 turns · 24 in / 9,078 out tokens

With context: $0.7788 · 2m 43s · 29 turns · 29 in / 10,486 out tokens

Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.