You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPEsuite SYSTEM "http://testng.org/testng-1.0.dtd">
<suitename="Suite">
<testname="test set 1"preserve-order="false"verbose="5">
<packages>
<packagename="xxx.xxx.xxx.set1.*" />
</packages>
</test>
<testname="test set 2"preserve-order="false"verbose="5">
<packages>
<packagename="xxx.xxx.xxx.set2.*" />
</packages>
</test>
</suite>
Now when calling "testNG-smoke" ant target, information about included and excluded groups is used by TestNG while running tests from "test set 1", but they are ignored while running tests from "test set 2", so instead of tests from particular group only, all available tests are executed - from logs:
[...]
[testng] [TestRunner] Running test test set 1 on 62 classes, included groups:[smoke ] excluded groups:[broken not-implemented ]
[...]
[testng] [TestRunner] Running test test set 2 on 28 classes, included groups:[] excluded groups:[ ]
[...]
ant config file (only important parts):
TestNG config file:
Now when calling "testNG-smoke" ant target, information about included and excluded groups is used by TestNG while running tests from "test set 1", but they are ignored while running tests from "test set 2", so instead of tests from particular group only, all available tests are executed - from logs:
[...]
[testng] [TestRunner] Running test test set 1 on 62 classes, included groups:[smoke ] excluded groups:[broken not-implemented ]
[...]
[testng] [TestRunner] Running test test set 2 on 28 classes, included groups:[] excluded groups:[ ]
[...]
Last time it was working fine on TestNG 6.0.1.
I've found similar issue here, reported 4 years ago: http://jira.opensymphony.com/browse/TESTNG-194
This one most probably describe the same issue: #69
The text was updated successfully, but these errors were encountered: