testing

Enforce test-first development and test-quality reviews across unit, integration, and QA contexts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Teams often lack a disciplined approach to testing, leading to fragile code and late defect discovery; this skill provides a structured framework for test-first development and ongoing test-quality reviews.

Core Features & Use Cases

  • Guided Test-First Workflow: Define the test before implementing code to drive design and verify behavior.
  • Quality Review Framework: Establish metrics and patterns (AAA, test pyramid) for consistent test quality across projects.
  • Practical Scenarios: Use during PR reviews, feature development, or bug fixes to ensure tests define "done" and catch regressions.

Quick Start

Write a failing test for a new feature, then implement the minimal code to make the test pass.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I enforce test-first development in my team's code reviews?

Test-first development during code reviews is enforced by defining tests before implementation to drive design and verify behavior. This framework ensures tests define 'done' and catch regressions across feature development and bug fixes.

What is the AAA pattern for unit-testing and how does it improve test quality?

The AAA pattern for unit-testing structures tests into Arrange, Act, and Assert phases. Applying this pattern ensures consistent test organization and robust quality verification across unit, integration, and QA contexts.

How do I structure my integration-testing and unit-testing using the test pyramid?

Structuring integration-testing and unit-testing using the test pyramid balances test volume across layers. This approach specifies guidelines for mocking strategies and structured test organization to ensure reliable software behavior.

Does this test-first workflow apply to bug fixes and integration-testing?

Yes, the test-first workflow applies to bug fixes, feature development, and integration-testing. It systematically guides test-quality reviews across unit, integration, and QA contexts to catch regressions and verify behavior.

What's the best way to start writing a failing test before implementing code?

The best way to start test-first development is to write a failing test for a new feature, then implement the minimal code required to make the test pass. This drives design and verifies behavior immediately.

Why does late defect discovery happen and how do structured testing patterns prevent it?

Late defect discovery happens due to a lack of disciplined testing, causing fragile code. Structured testing patterns like the test pyramid and AAA prevent this by establishing metrics for consistent test-quality reviews.