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:

FrameworkDetails
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 junit.framework.TestCase  with test* methods, unless they provide static suite() methods ( regardless of the test name change) or the runTest() method.

Support for JUnit 3 is deprecated and will be removed in future versions.

JUnit 4Supported for Gradle, Maven, and Ant.
JUnit 5Supported for Gradle and Maven.
TestNGJtest 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.
Visit the Parasoft Marketplace (http://marketplace.parasoft.com) for additional unit test tool integrations.

  • No labels