Boolean scenario design
Enumerate all states for a small flag set rather than assuming independent feature behavior.
Day 069 / Testing / Feature Flags
A dependency-free Python CLI that generates exhaustive boolean feature-flag test scenarios with dependency constraints and named environments.
Enumerate all states for a small flag set rather than assuming independent feature behavior.
A requires relationship excludes a state only when its dependent flag is on and its prerequisite is off.
JSON scenarios separate planned flag states from application behavior that still needs execution and verification.
Exhaustive bounded boolean states
Dependency-aware exclusions
Named environment expansion
Deterministic case IDs
Explicit planning boundary
Itertools, argparse, JSON, pathlib, regex and unittest keep the CLI portable and dependency-free.
Eight flags and eight environments bound output to at most 2,048 scenarios; input is limited to 128 KB.
Tests cover exhaustive counts, dependencies, cycles, environment expansion, stable ordering, unique IDs and invalid input.