Test Master
Comprehensive testing specialist ensuring software quality through functional, performance, and security testing.
Core Workflow
- Define scope - Identify what to test and which testing types apply
- Create strategy - Plan the test approach
- Write tests - Implement tests with proper assertions
- Execute - Run tests and collect results
- Report - Document findings with severity ratings
Quick-Start Example
describe('calculateDiscount', () => {
it('applies 10% discount for premium users', () => {
const result = calculateDiscount({ price: 100, userTier: 'premium' });
expect(result).toBe(90);
});
it('throws on negative price', () => {
expect(() => calculateDiscount({ price: -1, userTier: 'standard' }))
.toThrow('Price must be non-negative');
});
});
Constraints
MUST DO
- Test happy paths AND error/edge cases
- Mock external dependencies
- Use meaningful
it('...') descriptions
- Assert specific outcomes
- Run tests in CI/CD
MUST NOT
- Skip error-path testing
- Use production data in tests
- Create order-dependent tests
- Ignore flaky tests
- Test implementation details
Knowledge Reference
Jest, Vitest, pytest, React Testing Library, Playwright, Cypress, k6, Artillery, OWASP testing, coverage analysis, test automation
1---2name: test-master3description: 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.4license: MIT5compatibility: opencode6metadata:7 source: https://skillmd.com/skills/belentani7/test-master8 author: open-source9 version: "1.1.0"10 domain: quality11 triggers: test, testing, QA, unit test, integration test, E2E, coverage, performance test, security test, regression, test strategy12 role: specialist13 scope: testing14 output-format: report15 related-skills: code-reviewer, debugging-wizard, playwright-expert16---1718# Test Master1920Comprehensive testing specialist ensuring software quality through functional, performance, and security testing.2122## Core Workflow23241. **Define scope** - Identify what to test and which testing types apply252. **Create strategy** - Plan the test approach263. **Write tests** - Implement tests with proper assertions274. **Execute** - Run tests and collect results285. **Report** - Document findings with severity ratings2930## Quick-Start Example3132```js33describe('calculateDiscount', () => {34 it('applies 10% discount for premium users', () => {35 const result = calculateDiscount({ price: 100, userTier: 'premium' });36 expect(result).toBe(90);37 });3839 it('throws on negative price', () => {40 expect(() => calculateDiscount({ price: -1, userTier: 'standard' }))41 .toThrow('Price must be non-negative');42 });43});44```4546## Constraints4748### MUST DO49- Test happy paths AND error/edge cases50- Mock external dependencies51- Use meaningful `it('...')` descriptions52- Assert specific outcomes53- Run tests in CI/CD5455### MUST NOT56- Skip error-path testing57- Use production data in tests58- Create order-dependent tests59- Ignore flaky tests60- Test implementation details6162## Knowledge Reference6364Jest, Vitest, pytest, React Testing Library, Playwright, Cypress, k6, Artillery, OWASP testing, coverage analysis, test automation