mirror of
https://github.com/bmad-code-org/BMAD-METHOD.git
synced 2026-09-19 08:11:52 +08:00
f0c7cf41c7
The *.agent.yaml format was replaced by SKILL.md-based agents. Zero agent YAML files remain in src/, so remove the Zod schema, validator CLI, fixture-based test suite (52 fixtures), unit tests, CLI integration tests, and the CI steps that invoked them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
767 B
Markdown
39 lines
767 B
Markdown
# Test Suite
|
|
|
|
Tests for the BMAD-METHOD tooling infrastructure.
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# Run all quality checks
|
|
npm run quality
|
|
|
|
# Run individual test suites
|
|
npm run test:install # Installation component tests
|
|
npm run test:refs # File reference CSV tests
|
|
npm run validate:refs # File reference validation (strict)
|
|
```
|
|
|
|
## Test Scripts
|
|
|
|
### Installation Component Tests
|
|
|
|
**File**: `test/test-installation-components.js`
|
|
|
|
Validates that the installer compiles and assembles agents correctly.
|
|
|
|
### File Reference Tests
|
|
|
|
**File**: `test/test-file-refs-csv.js`
|
|
|
|
Tests the CSV-based file reference validation logic.
|
|
|
|
## Test Fixtures
|
|
|
|
Located in `test/fixtures/`:
|
|
|
|
```text
|
|
test/fixtures/
|
|
└── file-refs-csv/ # Fixtures for file reference CSV tests
|
|
```
|