-
Notifications
You must be signed in to change notification settings - Fork 15
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
Handle --exclude-testsuite and --test-suffix options #273
Handle --exclude-testsuite and --test-suffix options #273
Conversation
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.
Thank you for your contribution! Can you add a changelog entry?
39c1d76
to
bd0f957
Compare
Done. |
exclude-testsuite
option to support test suite exclusion
Added --test-suffix option also |
1c0edf0
to
ccf0ebc
Compare
Rebased and squashed |
ccf0ebc
to
cf1f1e8
Compare
Extended SuffixFilterTest with additional checks for filtering test files by suffix. Included both single suffix and comma-separated suffix scenarios to ensure proper functionality.
Separated logic for converting suffixes to an array and filtering files into distinct private methods. This improves code readability and maintainability by encapsulating specific functionalities. The refactor facilitates extension and testing of individual components.
Updated `ExcludeTest` to handle comma-separated test suite names in exclude options. Refactored `Filter` class to streamline processing of comma-separated values through a new helper method `getTrimmedArray()`.
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.
Thank you!
Fixes #199