CtrlK
BlogDocsLog inGet started
Tessl Logo

testing-patterns

Cross-language testing strategies and patterns. Triggers on: test pyramid, unit test, integration test, e2e test, TDD, BDD, test coverage, mocking strategy, test doubles, test isolation.

73

1.17x
Quality

61%

Does it follow best practices?

Impact

92%

1.17x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./data/skills-md/0xdarkmatter/claude-mods/testing-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

93%

22%

Unit Tests for Order Pricing Engine

Unit test naming and AAA structure

Criteria
Without context
With context

Naming: unit segment

12%

100%

Naming: scenario segment

62%

87%

Naming: expected segment

50%

75%

AAA sections labeled

0%

80%

Arrange section present

85%

100%

Act section present

100%

100%

Assert section present

100%

100%

Correct test double type

60%

80%

Minimal mocking

100%

100%

Error cases covered

100%

100%

Avoids testing private/framework

100%

100%

All unit deps mocked

100%

100%

86%

16%

Integration Tests for User Registration Service

Integration test DB isolation and service mocking

Criteria
Without context
With context

Real DB, not mocked

100%

100%

Transaction rollback isolation

0%

0%

External API mocked at boundary

60%

80%

Tests are independent

100%

100%

Integration scope

100%

100%

Happy path covered

100%

100%

Error/edge cases covered

100%

100%

Notification verified

100%

100%

Test naming convention

37%

100%

No unit-level mocking of internals

100%

100%

AAA pattern used

10%

100%

97%

2%

Test Suite for a New Payment Processing Service

Test pyramid strategy and scope decisions

Criteria
Without context
With context

Pyramid proportions

100%

100%

Unit tests all-mocked

100%

100%

80% coverage target

100%

100%

E2E scope: critical flows only

100%

100%

E2E run timing

100%

100%

Business logic tested

100%

100%

Auth/permissions tested

100%

100%

Avoids framework internals

100%

100%

Avoids getter/setter tests

100%

100%

Test independence

100%

100%

Speed labels/targets

57%

57%

Naming convention followed

75%

100%

Error cases covered

100%

100%

Repository
NeverSight/skills_feed
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.