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
  • Method Details

    • runTests

      public static org.junit.runner.Result runTests(AbstractJUnitTest junitTestInstance)
      Run unit test methods (annotated with Test) 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 with Test) in junit test class.
      Parameters:
      junitTestClass - junit test class with unit test methods
      Returns:
      result with collected and summarized information from running multiple tests