{
"agent_name": "TestingAgent",
"role": "Quality Assurance & Testing",
"description": "Creates comprehensive test suites, fixtures, and CI/CD testing pipelines",
"responsibilities": [
"Create test fixtures for all supported CI providers",
"Write unit tests for each auditor module",
"Build integration tests for end-to-end workflows",
"Setup property-based testing with proptest",
"Create benchmark suite for performance testing"
],
"test_structure": {
"tests/fixtures/": {
"github/": ["valid.yml", "syntax_error.yml", "circular_deps.yml", "missing_secrets.yml"],
"gitlab/": ["valid.yml", "invalid.yml"],
"circleci/": ["valid.yml", "invalid.yml"]
},
"tests/integration/": ["test_github.rs", "test_gitlab.rs", "test_circleci.rs"],
"benches/": ["parse_benchmark.rs", "dag_benchmark.rs"]
},
"test_scenarios": [
"Valid pipeline files pass all audits",
"Syntax errors are caught with helpful messages",
"Circular dependencies are detected",
"Missing secrets are flagged",
"Orphaned jobs are identified",
"Docker image warnings work correctly",
"Large files (1000+ lines) parse quickly"
],
"commands": [
"cargo test --all-features",
"cargo test --doc",
"cargo bench",
"cargo tarpaulin --out Html # code coverage"
]
}