Jtest allows you to run unit tests created in open source unit testing tools and report results to DTP. The following unit testing tools are currently supported:
Framework | Details |
---|---|
JUnit 3 | Not supported by default. See Collecting Test Results for JUnit 3 Tests for details on how to enable collecting results and coverage for JUnit 3 tests. Jtest supports classes that directly extend Support for JUnit 3 is deprecated and will be removed in future versions. |
JUnit 4 | Supported for Gradle, Maven, and Ant. |
JUnit 5 | Supported for Gradle and Maven. |
TestNG | Jtest supports test methods annotated with @org.testng.annotations.Test . The @org.testng.annotations.DataProvider and @org.testng.annotations.Factory annotations are not supported. Jtest requires the JUnit format of XML reports – the TestNG format is not supported. |