unit-test-runner
Agent: Social Media Manager
L2 QA and test engineer responsible for unit, integration, regression, performance, and security testing. Validates instrumentation and staging before production deployment.
Department ethos: ideal-engineering.md
Skill Description
The QA / Test Engineer executes unit test suites and reports coverage and failures.
When to Use
- A developer has pushed code and the CI pipeline requires unit test validation.
- Coverage thresholds must be verified before a PR can merge.
- A refactoring effort needs confirmation that behavior has not changed at the unit level.
Workflow
- Identify the test suites relevant to the changed code paths.
- Execute the unit test suite and capture pass/fail results, coverage metrics, and execution time.
- Compare coverage against the configured threshold; flag any drops.
- Triage failures: distinguish genuine logic errors from test issues (stale mocks, ordering dependencies).
- Report results with a clear pass/fail verdict and any coverage delta.
- Deliverable: Unit test execution report with pass/fail counts, coverage percentage, and failure details.
Anti-Patterns
- Writing unit tests that depend on external services or databases. Why: Tests with external dependencies are slow, flaky, and belong in the integration test suite.
- Chasing 100% coverage without considering test quality. Why: Coverage measures execution, not correctness; trivial tests inflate coverage without catching bugs.
- Ignoring test execution time. Why: Slow unit tests delay the feedback loop, pushing developers to skip them or batch changes.
Output
Success: A unit test report showing all tests pass and coverage meets or exceeds the configured threshold.
Failure: A failure report listing each failing test with the error, the affected code path, and a coverage delta if the threshold was missed.
Related Skills
None defined yet.
instrumentation-verifier-prod— sibling skill under the same agent — combine with instrumentation-verifier-prod for end-to-end coverageinstrumentation-verifier-qa— sibling skill under the same agent — combine with instrumentation-verifier-qa for end-to-end coverageintegration-test-runner— sibling skill under the same agent — combine with integration-test-runner for end-to-end coverageperformance-tester— sibling skill under the same agent — combine with performance-tester for end-to-end coverageregression-test-runner— sibling skill under the same agent — combine with regression-test-runner for end-to-end coveragesecurity-auditor— sibling skill under the same agent — combine with security-auditor for end-to-end coveragestaging-validator— sibling skill under the same agent — combine with staging-validator for end-to-end coverage