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:
The following table describes detailed support for testing frameworks:
Framework | Supported | Not supported |
---|
JUnit 3 | Test 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 4 | Test 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.