-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Introduce exclude-method
filter to complement select-method
selector
#3107
Comments
exclude-method
filter to complement select-method
selector
We discussed this in the team and think we could add a For example, |
Thanks @marcphilipp, any rough timeline for this feature? |
@kishoretak, we have not scheduled this feature for any upcoming milestone. As you can see from the assigned labels, we put this in the However, I just added the |
May I give it a try? Do I need to deliver the following items like issue 313?
|
Issues: junit-team#3107
Thanks for volunteering. Since it's up-for-grabs, anyone is welcome to submit a PR. Please note, however, that issue #313 is very old. The Gradle JUnit Platform plugin no longer exists, and the Rather (at a quick glance) the focus would be on a |
The new `--exclude-methodname` and `--include-methodname` options added of the `ConsoleLauncher` allow include or exclude methods based on fully qualified method names without parameters. For example, `--exclude-methodname=^org\.example\..+#methodname` will exclude all methods called `methodName` in the `org.example` package or any of its subpackages. Resolves #3107.
Support for exclude-method similar to exclude-class filter or select-method selector
Surefire provides exclude-method support by adding "!" to includes (config) or -Dtest (command line args), similarly, there should be support for the same in console-launcher as well.
https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html
The text was updated successfully, but these errors were encountered: