BMAD-METHOD/test
Mårten Angner 9cd83242fa Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00
..
fixtures/agent-schema agents all indicate hasSidecar true or false, validation requires it, agent builder and validator and editor use the field. Added a better brownfield doc 2025-12-31 21:30:19 +08:00
schema Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00
README.md Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00
test-agent-schema.js Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00
unit-test-schema.js Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00
validate-agent-schema.js Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00

README.md

Agent Schema Validation Test Suite

Comprehensive test coverage for the BMAD agent schema validation system.

Overview

This test suite validates the Zod-based schema validator (tools/schema/agent.js) that ensures all *.agent.yaml files conform to the BMAD agent specification.

Quick Start

# Run all tests
npm test

# Run with coverage report
npm run test:coverage

# Run CLI integration tests
./test/test-cli-integration.sh

# Validate actual agent files
npm run validate:schemas