discover-testing

Discovers relevant testing skills for unit, integration, E2E, performance testing and TDD tasks.

126|7|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/rand/cc-experiments --skill discover-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discover-testing
Source: https://github.com/rand/cc-experiments/tree/main/skills/discover-testing
Command: npx skills add https://github.com/rand/cc-experiments --skill discover-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensuring software quality through comprehensive testing can be challenging, requiring expertise in various methodologies. This skill provides immediate access to best practices for unit, integration, E2E, performance testing, and test-driven development, streamlining your QA efforts.

Core Features & Use Cases

  • Full Testing Spectrum: Covers unit testing patterns, integration testing, E2E testing, performance testing, test coverage strategies, and Test-Driven Development (TDD).
  • Intelligent Activation: Automatically loads when you're engaged in testing development tasks, providing context-aware guidance.
  • Use Case: When starting a new feature, this skill can guide you through TDD principles, help you write effective unit tests, and then plan for integration and E2E testing.

Quick Start

Help me implement a robust unit testing strategy for my new Python module.

Frequently Asked Questions about discover-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement unit testing for my Python module?

Unit testing validates individual functions by writing test cases that check expected outputs. Start by choosing a framework like pytest or unittest, write tests alongside your code, and run them frequently to catch bugs early before integration.

What's the difference between unit tests, integration tests, and E2E testing?

Unit tests verify isolated functions; integration tests check how components work together; E2E tests validate entire workflows from user input to output. Each catches different failure types—use all three for comprehensive coverage.

How do I measure test coverage for my codebase?

Test coverage tracks what percentage of code your tests execute. Tools like coverage.py generate reports showing untested lines. Aim for 80%+ coverage, but prioritize testing critical paths over hitting arbitrary targets.

Can I use Test-Driven Development with performance testing?

TDD focuses on correctness; performance testing validates speed and resource use. Write unit and integration tests first with TDD, then add performance tests to ensure your code meets latency and throughput requirements.

What testing strategy should I follow when starting a new feature?

Apply TDD by writing failing tests first, then implement code to pass them. Add integration tests once components connect, then E2E tests for full workflows. Use test coverage metrics to identify gaps across all testing layers.