@@ -18,61 +18,13 @@ template: false
1818
1919# Variables and inputs
2020variables :
21- # Execution mode
21+ # Execution mode and targeting
2222 standalone_mode : true # Can work without BMad artifacts (true) or integrate with BMad (false)
23-
24- # Target specification (flexible - can be story, feature, or directory)
25- story_file : " " # Path to story markdown (optional - only if BMad workflow)
26- target_feature : " " # Feature name or directory to analyze (e.g., "user-authentication" or "src/auth/")
27- target_files : " " # Specific files to analyze (comma-separated paths)
28-
29- # Discovery and analysis
30- test_dir : " {project-root}/tests"
31- source_dir : " {project-root}/src"
32- auto_discover_features : true # Automatically find features needing tests
33- analyze_coverage : true # Check existing test coverage gaps
34-
35- # Coverage strategy
3623 coverage_target : " critical-paths" # critical-paths, comprehensive, selective
37- test_levels : " e2e,api,component,unit" # Which levels to generate (comma-separated)
38- avoid_duplicate_coverage : true # Don't test same behavior at multiple levels
39-
40- # Test priorities (from test-priorities.md knowledge fragment)
41- include_p0 : true # Critical paths (every commit)
42- include_p1 : true # High priority (PR to main)
43- include_p2 : true # Medium priority (nightly)
44- include_p3 : false # Low priority (on-demand)
45-
46- # Test design principles
47- use_given_when_then : true # BDD-style test structure
48- one_assertion_per_test : true # Atomic test design
49- network_first : true # Route interception before navigation
50- deterministic_waits : true # No hard waits or sleeps
51-
52- # Infrastructure generation
53- generate_fixtures : true # Create/enhance fixture architecture
54- generate_factories : true # Create/enhance data factories
55- update_helpers : true # Add utility functions
56-
57- # Integration with BMad artifacts (when available)
58- use_test_design : true # Load test-design.md if exists
59- use_tech_spec : true # Load tech-spec.md if exists
60- use_prd : true # Load PRD.md if exists
61-
62- # Output configuration
63- update_readme : true # Update test README with new specs
64- update_package_scripts : true # Add test execution scripts
65- output_summary : " {output_folder}/automation-summary.md"
66-
67- # Quality gates
68- max_test_duration : 90 # seconds (1.5 minutes per test)
69- max_file_lines : 300 # lines (keep tests lean)
70- require_self_cleaning : true # All tests must clean up data
7124
72- # Advanced options
73- auto_load_knowledge : true # Load test-levels, test-priorities, fixture-architecture, selective-testing, ci-burn-in
74- run_tests_after_generation : true # Verify tests pass/fail as expected
75- auto_validate : true # Always validate generated tests
25+ # Directory paths
26+ test_dir : " {project-root}/tests" # Root test directory
27+ source_dir : " {project-root}/src" # Source code directory
7628
7729# Output configuration
7830default_output_file : " {output_folder}/automation-summary.md"
0 commit comments