testing-standards

Enforce Test-Driven Development practices and define test writing, naming, and mocking standards.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/BEE-CODED/bee-dev --skill testing-standards-bee-coded
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-standards
Source: https://github.com/BEE-CODED/bee-dev/tree/main/plugins/bee/skills/standards/testing
Command: npx skills add https://github.com/BEE-CODED/bee-dev --skill testing-standards-bee-coded

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill establishes and enforces rigorous testing standards, ensuring all code is developed using Test-Driven Development (TDD) and adheres to best practices for test writing, naming, and mocking.

Core Features & Use Cases

  • Mandatory TDD: Enforces the Red-Green-Refactor cycle for all implementation tasks.
  • Test Writing Standards: Defines guidelines for test quantity, focus, structure, and linkage to acceptance criteria.
  • Clear Naming Conventions: Provides examples for effective test naming in PHP and JavaScript.
  • Mocking Strategy: Outlines what to mock, what not to mock, and the preference for fakes over mocks.
  • Gap Analysis: Guides the process of identifying and closing critical test coverage gaps after initial TDD.
  • Use Case: Ensure that every new feature developed by the team is built with a failing test first, leading to more reliable and maintainable code.

Quick Start

Follow the TDD Red-Green-Refactor cycle for all new code development.

Frequently Asked Questions about testing-standards

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

FAQPage Schema
How do I enforce Test-Driven Development practices across my software projects?

To enforce Test-Driven Development practices, you must mandate the Red-Green-Refactor cycle for all implementation tasks. This ensures every new feature starts with a failing test, leading to reliable and maintainable code across your projects.

What are the best practices for structuring and naming tests in PHP and JavaScript?

Best practices for structuring and naming tests involve defining test quantity, focus, and clear naming conventions. Applying these standards ensures your PHP and JavaScript tests remain organized and directly linked to your acceptance criteria.

What is the recommended mocking strategy for test automation?

The recommended mocking strategy for test automation is to prefer fakes over mocks. You must carefully outline what to mock and what not to mock, ensuring your tests validate behavior without coupling tightly to implementation details.

How do I identify critical test coverage gaps after initial TDD?

To identify critical test coverage gaps after initial TDD, you should conduct a post-TDD gap analysis. This process guides you through finding and closing missing test scenarios to improve overall code quality and robustness.

Can I use these testing standards for refactoring existing codebases?

Yes, you can use these testing standards for refactoring existing codebases. By applying the Red-Green-Refactor cycle and gap analysis, you establish robust test coverage that makes subsequent code refactoring safe and maintainable.