Class Actions.CoreRunner

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    Actions

    class Actions.CoreRunner
    extends Thread
    A thread in which a testclass is executed or at least a single testcase out of this testclass. Essentially, this is defined by the class testClassName. The major task of this class is, to reload testClassName using a classloader which allows reloading each test run without restarting the tester application. The core of the code is copied from JUnitCore.
    • Field Detail

      • notifier

        private final RunNotifier notifier
        The notifier to run the tests as in JUnitCore.
      • testClassName

        private final String testClassName
        The name of the class to be tested.
    • Constructor Detail

      • CoreRunner

        CoreRunner​(String testClassName)
        Creates a runner running all testcases in the given test class.