Mock Generator - Auto-activating skill for Test Automation. Triggers on: mock generator, mock generator Part of the Test Automation skill category.
36
Quality
3%
Does it follow best practices?
Impact
100%
1.01xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./planned-skills/generated/09-test-automation/mock-generator/SKILL.mdJest mock generation for JavaScript module
Jest framework used
100%
100%
jest.mock() or jest.fn() usage
100%
100%
Module isolation
100%
100%
Production-ready test structure
100%
100%
Mock reset/restore
100%
100%
Return value or implementation mock
100%
100%
Runnable configuration
100%
100%
Mock call assertions
100%
100%
No real external calls
100%
100%
Without context: $0.2759 · 1m 46s · 18 turns · 19 in / 4,336 out tokens
With context: $0.5057 · 1m 54s · 29 turns · 29 in / 6,394 out tokens
Pytest mock generation for Python service
Pytest framework used
100%
100%
Mock/patch usage
100%
100%
Correct patch target
100%
100%
Fixture or context manager teardown
100%
100%
Return value specification
100%
100%
Call assertions
100%
100%
Production-ready structure
100%
100%
Test isolation
100%
100%
No real external calls
100%
100%
Without context: $0.4587 · 2m · 21 turns · 22 in / 7,672 out tokens
With context: $0.7121 · 2m 35s · 34 turns · 151 in / 9,250 out tokens
Integration test mock configuration
Unit vs integration distinction
100%
100%
Service boundary mocking
100%
100%
Step-by-step setup documented
100%
100%
Framework-appropriate tooling
100%
100%
Production-ready configuration
100%
100%
Mock data fixtures
100%
100%
Test isolation between services
100%
100%
No real network calls
90%
100%
Call verification
100%
100%
Without context: $0.4400 · 1m 53s · 19 turns · 20 in / 8,797 out tokens
With context: $0.8664 · 3m 9s · 36 turns · 36 in / 13,611 out tokens
f17dd51
Table of Contents
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.