Mocha Test Setup - Auto-activating skill for Test Automation. Triggers on: mocha test setup, mocha test setup Part of the Test Automation skill category.
35
3%
Does it follow best practices?
Impact
94%
1.28xAverage 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/mocha-test-setup/SKILL.mdMocha framework setup and configuration
Uses Mocha package
0%
100%
Test script uses mocha
0%
100%
Mocha config file present
0%
0%
Test directory structure
100%
100%
Uses assertion library
100%
100%
describe/it blocks
50%
100%
Tests capitalize function
100%
100%
Tests slugify function
100%
100%
SETUP.md documents steps
100%
100%
Mocha mocking and test isolation
Mocking library added
100%
100%
No real network calls
100%
100%
Mock reset/restore
100%
100%
Assertions on behavior
100%
100%
Mocha still used as runner
100%
100%
describe/it structure
100%
100%
Error case tested
100%
100%
MOCKING.md explains approach
100%
100%
Integration test setup and lifecycle hooks
Uses Mocha as runner
0%
100%
before/after hooks used
75%
100%
HTTP client for requests
100%
100%
All three endpoints covered
100%
100%
Error response tested
100%
100%
State reset between tests
100%
100%
describe/it structure
100%
100%
Mocha config present
0%
40%
TEST-STRATEGY.md explains lifecycle
100%
100%
3e83543
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.