testing

Enforce a Test-Driven Development workflow with Red-Green-Refactor cycles and microfeature commits.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ityonemo/pepper --skill testing-ityonemo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/ityonemo/pepper/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/ityonemo/pepper --skill testing-ityonemo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enforces a rigorous Test-Driven Development (TDD) workflow to ensure code quality, reduce bugs, and facilitate maintainability through microfeature commits.

Core Features & Use Cases

  • TDD Enforcement: Guides developers through the Red-Green-Refactor cycle.
  • Microfeature Commits: Promotes atomic, test-driven commits for clear version history.
  • Playwright Integration: Enables end-to-end browser testing for comprehensive validation.
  • Use Case: When implementing any new feature or fixing a bug, this Skill ensures that tests are written first, code is minimal to pass tests, and commits are small and focused.

Quick Start

Follow the Test-Driven Development cycle to implement new functionality.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I enforce a strict TDD workflow with microfeature commits?

To enforce strict TDD with microfeature commits, this Skill guides you through the Red-Green-Refactor cycle, ensuring tests are written first and commits remain small and focused. It mandates minimal code to pass tests before refactoring.

Can I use Playwright for end-to-end browser testing alongside TDD?

Yes, you can use Playwright for end-to-end browser testing within this TDD workflow. The Skill integrates Playwright to enable comprehensive validation, with tests colocated alongside your source code for better maintainability.

How does asynchronous testing with PostgreSQL and ExUnit assertions work?

Asynchronous testing with PostgreSQL and ExUnit assertions works by supporting async database operations during the Red-Green-Refactor cycle. The Skill utilizes ExUnit assertions to validate asynchronous code paths against a PostgreSQL database.

What is the best way to structure tests when following a Test-Driven Development cycle?

The best way to structure tests in a TDD cycle is to colocate them alongside your source code. This Skill enforces this structure, promoting atomic, test-driven microfeature commits for a clear and maintainable version history.

Does this TDD workflow support both frontend and backend test automation?

Yes, this TDD workflow supports both frontend and backend test automation by integrating Playwright for end-to-end browser testing and utilizing ExUnit assertions for backend logic, ensuring comprehensive validation across the stack.