-
Notifications
You must be signed in to change notification settings - Fork 43
List acceptance tests #3042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List acceptance tests #3042
Conversation
Instead of having to figure out the single test format, this script lists them for you.
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
robnester-rh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues, but I was curious if you'd looked at the suggestions from qodo?
Just tried the first suggestion |
User description
Instead of having to figure out the single test format, this script lists them for you.
PR Type
Enhancement, Tests
Description
Add
-l/--listflag to display all available features and scenariosParse feature files to extract and filter features by name or pattern
Support filtering by feature and scenario using
Feature/ScenariosyntaxUpdate help documentation with new listing examples and usage patterns
Diagram Walkthrough
File Walkthrough
run-acceptance-tests.sh
Add feature and scenario listing functionalityhack/macos/run-acceptance-tests.sh
list_tests()function that parses.featurefiles anddisplays available features and scenarios with optional pattern
filtering
-l/--listcommand-line option to trigger listing mode withsupport for feature and scenario pattern matching
parse_args()to handle list-specific arguments includingfeature/scenario pattern parsing using
Feature/Scenariosyntaxshow_usage()help text with new-l/--listoption documentationand realistic feature-based examples
main()to detect listing mode early and skip unnecessarysetup steps