Validate test-tags
validate test-tags - Validate that all test tags are defined in the tag contract
Validates that all tags used in test files (Gherkin features) are defined in the tag contract.
This ensures tag filtering and test selection works correctly by preventing the use of undefined tags that would be silently ignored by godog.
The validation: - Discovers all Gherkin feature files in the repository - Extracts all tags from features, scenarios, and examples - Loads the tag contract from .r2r/eac/testing-tags.yml - Checks that each tag is defined in the contract - Reports undefined tags with their file locations
Notes
Expected Output:
Displays undefined tags with file locations (path:line). Tags are validated against .r2r/eac/testing-tags.yml contract. Exit code 0 if all tags defined, 1 if undefined tags found.
Examples
See Also
Tutorials | How-to Guides | Explanation | Reference
You are here: Reference — information-oriented technical descriptions of the system.