Package com.avoka.tm.test
Class JUnitTestRunner
- java.lang.Object
-
- com.avoka.tm.test.JUnitTestRunner
-
public class JUnitTestRunner extends Object
Provides a runner utility for unit testing.
- Since:
- 5.1.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JUnitTestRunner.TestWrapper
Test wrapper.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.junit.runner.Result
runTests(AbstractJUnitTest junitTestInstance)
Run unit test methods (annotated withTest
) in junit test instance.static org.junit.runner.Result
runTests(Class<?> junitTestClass)
Run unit test methods (annotated withTest
) in junit test class.
-
-
-
Method Detail
-
runTests
public static org.junit.runner.Result runTests(AbstractJUnitTest junitTestInstance)
Run unit test methods (annotated withTest
) in junit test instance.- Parameters:
junitTestInstance
- junit test instance with unit test methods- Returns:
- result with collected and summarized successful information from running multiple tests
-
runTests
public static org.junit.runner.Result runTests(Class<?> junitTestClass)
Run unit test methods (annotated withTest
) in junit test class.- Parameters:
junitTestClass
- junit test class with unit test methods- Returns:
- result with collected and summarized information from running multiple tests
-
-