testing

Create and execute unit, integration, and end-to-end tests with Chrome DevTools.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the challenge of ensuring code quality and reliability by providing a structured approach to writing and executing various types of tests.

Core Features & Use Cases

  • Test Strategy: Implements the testing pyramid (Unit, Integration, E2E) for comprehensive coverage.
  • Tooling: Leverages Chrome DevTools for End-to-End testing, including visual regression and performance profiling.
  • Workflow Guidance: Provides a step-by-step workflow for analyzing, writing, and maintaining tests.
  • Use Case: When developing a new feature, use this Skill to write unit tests for individual functions, integration tests for module interactions, and E2E tests to validate user flows in a browser.

Quick Start

Use the testing skill to write unit tests for the new user authentication module.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I write unit tests and integration tests for a new software feature?

To write unit tests and integration tests for a new feature, follow a structured testing workflow that covers individual functions and module interactions. This approach ensures comprehensive coverage and validates module behaviors to prevent regressions.

What is the testing pyramid and when do I need end-to-end tests?

The testing pyramid is a test strategy implementing unit, integration, and end-to-end tests. You need E2E tests to validate complete user flows in a browser, ensuring overall software reliability and comprehensive test coverage.

Can I use Chrome DevTools for browser automation and end-to-end testing?

Yes, you can use Chrome DevTools for browser automation and E2E testing. It supports end-to-end testing methodologies by enabling visual regression checks and performance profiling directly within the browser environment.

What's the best way to prevent code regressions when maintaining an existing codebase?

The best way to prevent code regressions is to implement a structured testing workflow that includes unit, integration, and E2E tests. Regularly analyzing and maintaining these tests ensures ongoing code quality and reliability.

Does this testing workflow require any specific testing frameworks or dependencies?

No specific testing frameworks or dependencies are required to use this workflow. It provides guidance on test analysis, implementation, and regression prevention across general unit, integration, and E2E testing methodologies without external constraints.