Jtest DTP Engine 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:

  • JUnit 3 and 4
  • TestNG

The following table describes detailed support for testing frameworks:

FrameworkSupportedNot supported
JUnit 3Test classes directly extending  junit.framework.TestCase with test* methods.
  • Suite classes: classes directly extending junit.framework.TestCase and providing static suite() methods, regardless of test name changes.
  • Test classes directly extending junit.framework.TestCase with the runTest() method.
JUnit 4Test methods annotated with @org.junit.Test annotation.
  • Tests parameterized with @org.junit.runners.Parameterized.Parameters
  • Theories with @org.junit.experimental.theories.Theory
TestNG

Test methods annotated with @org.testng.annotations.Test annotation.

XML reports (JUnit format only) will be processed.

  • Tests parameterized with @org.testng.annotations.DataProvider
  • Classes annotated with @org.testng.annotations.Test annotation
  • Tests parameterized with @org.testng.annotations.Factory
  • XML reports in TestNG format won't be processed.

Visit the Parasoft Marketplace (http://marketplace.parasoft.com) for additional unit test tool integrations.


  • No labels