Thanks Krishnan for replying. I should have given more information to begin with.
I see the issue with 7.3 and 7.5. When run from maven I don't see skips update, but if I run the test class from IntelliJ the skips does get updated. My tests are configured through @Test annotations while (I think) Intellij produces temporary suite files, so maybe this has to do with suites???
Here's the test code:
public class TestQuarantining {
@Test
public void testNotQuarantined(){
Assert.assertTrue(true);
}
@Test
@QuarantinedTest
public void testQuarantined(){
Assert.assertTrue(true);
}
}
Intellij generated xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "
https://testng.org/testng-1.0.dtd">
<suite name="Default Suite">
<test thread-count="5" name="test">
<classes>
<class name="org.etc.TestQuarantining"/>
</classes>
</test> <!-- test -->
</suite> <!-- Default Suite -->
Intellij output
===============================================
Default Suite
Total tests run: 1, Passes: 0, Failures: 0, Skips: 1
===============================================
maven output:
command:
mvn test -Dtest=TestQuarantining
...
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.378 s - in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------