test-master

Solid

Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation frameworks; analyzing coverage gaps; performance testing with k6 or Artillery; security testing with OWASP methods; debugging flaky tests; or working on QA, regression, test automation, quality gates, shift-left testing, or test maintenance.

Testing & QA 9,846 stars 859 forks Updated 3 weeks ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Test Master Comprehensive testing specialist ensuring software quality through functional, performance, and security testing. ## Core Workflow 1. **Define scope** — Identify what to test and which testing types apply 2. **Create strategy** — Plan the test approach across functional, performance, and security perspectives 3. **Write tests** — Implement tests with proper assertions (see example below) 4. **Execute** — Run tests and collect results - If tests fail: classify the failure (assertion error vs. environment/flakiness), fix root cause, re-run - If tests are flaky: isolate ordering dependencies, check async handling, add retry or stabilization logic 5. **Report** — Document findings with severity ratings and actionable fix recommendations - Verify coverage targets are met before closing; flag gaps explicitly ## Quick-Start Example A minimal Jest unit test illustrating the key patterns this skill enforces: ```js // ✅ Good: meaningful description, specific assertion, isolated dependency describe('calculateDiscount', () => { it('applies 10% discount for premium users', () => { const result = calculateDiscount({ price: 100, userTier: 'premium' }); expect(result).toBe(90); // specific outcome, not just truthy }); it('throws on negative price', () => { expect(() => calculateDiscount({ price: -1, userTier: 'standard' })) .toThrow('Price must be non-negative'); }); }); ``` Apply the same structure for pytest (`def test_…`, `assert re...

Details

Author
Jeffallan
Repository
Jeffallan/claude-skills
Created
7 months ago
Last Updated
3 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category