bee:dev-unit-testing

Generate and verify unit tests enforcing TDD and 85% coverage across PHP, TypeScript, and Python.

2|1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/luanrodrigues/ia-frmwrk --skill bee-dev-unit-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bee:dev-unit-testing
Source: https://github.com/luanrodrigues/ia-frmwrk/tree/main/dev-team/skills/dev-unit-testing
Command: npx skills add https://github.com/luanrodrigues/ia-frmwrk --skill bee-dev-unit-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures that all acceptance criteria for a given task are covered by executable unit tests, guaranteeing code robustness and maintainability.

Core Features & Use Cases

  • Automated Test Generation: Orchestrates the QA Analyst agent to write unit tests based on acceptance criteria.
  • Coverage Enforcement: Verifies that unit test coverage meets or exceeds the defined threshold (minimum 85%).
  • Traceability: Creates a matrix linking acceptance criteria to their corresponding tests.
  • Use Case: After a backend engineer implements a new API endpoint (Gate 0), this Skill ensures that comprehensive unit tests are written and executed to validate its functionality before proceeding to code review.

Quick Start

Use the bee:dev-unit-testing skill to write unit tests for the task 'task-001' with the given acceptance criteria and implementation files.

Frequently Asked Questions about bee:dev-unit-testing

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

FAQPage Schema
How do I automate unit test generation from acceptance criteria?

Automated unit test generation uses QA Analyst agents to write executable tests directly from task acceptance criteria. It coordinates with implementation agents to verify coverage, ensuring all criteria are validated before code review.

How do I enforce a minimum code coverage threshold for PHP, TypeScript, and Python projects?

Code coverage enforcement verifies that unit tests meet or exceed an 85% threshold across PHP, TypeScript, and Python projects. It checks executed tests against implementation files and triggers fixes when coverage falls below the minimum.

What is TDD methodology enforcement in automated testing workflows?

TDD methodology enforcement automates the test-first cycle by orchestrating test writing before implementation verification. It coordinates QA Analyst agents to generate tests from acceptance criteria, then implementation agents fix coverage gaps to maintain robustness.

Can I trace acceptance criteria to their corresponding unit tests?

Traceability is maintained by creating a matrix that links each acceptance criterion to its corresponding executable unit tests. This matrix ensures every requirement is covered and validates that implementation files meet the defined coverage threshold.

Does automated unit testing work with PHP, TypeScript, and Python?

Automated unit testing supports PHP, TypeScript, and Python projects. It generates and verifies executable tests across these languages, enforcing an 85% minimum coverage threshold and coordinating QA and implementation agents for fixes.

Why does unit test coverage fail after implementing a new API endpoint?

Unit test coverage fails when written tests do not meet the 85% minimum threshold for the implementation files. The automated process coordinates implementation agents to analyze coverage gaps and apply test fixes until the threshold is exceeded.