Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Filter test methods for execution by regex from configuration file #179

Closed oomelianchuk closed 4 months ago

oomelianchuk commented 3 years ago

In some projects, it's required to execute only the test, the class name, method name, and test id of which match the specific regex. Although maven-surefire offers the way to do it via -Dtest=%=regex[.*.*] option, this only works for execution in the console.

It would be great to have a feature, that would allow such filtering for execution in IDE and also controlling the regex via a configuration file.

Implementation suggestion:

occupant23 commented 3 years ago

PR tested.

@oomelianchuk Please add/adjust the documentation regarding this feature and comment here when done. So we can perform the final test.