Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.19.1
-
None
-
OS X El Capitan 10.11.6
TestNG 6.9.10
Description
Preconditions:
There is a simple TestNG class with two methods so that 1st method has group "group" and 2nd has group "apigroup".
Steps to reproduce:
Run tests with command:
mvn clean test -Dgroups=group
h4.Actual:
Both tests are run.
h4.Expected:
Only method with group "group" is run.
Demo project could be found here: https://github.com/khospodarysko/testng-groups.
Looks like the issue is in GroupMatcherMethodSelector as looking at includeMethod it is seen that is always returns true.
Attachments
Attachments
Issue Links
- links to