Interface RemoteTestExecutor


public interface RemoteTestExecutor
Interface that describes an entity capable of executing JUnit tests on remote machine.

Exact mechanism of such test execution are deliberately unspecified, to allow more flexibility.
Since:
20.0
  • Method Summary

    Modifier and Type Method Description
    void executeTest​(org.junit.runner.notification.RunNotifier notifier, org.junit.runners.model.TestClass testClass, org.junit.runner.Description testDescription)
    Send request to remote server to execute a test using the supplied test class and test description.
  • Method Details

    • executeTest

      void executeTest​(org.junit.runner.notification.RunNotifier notifier, org.junit.runners.model.TestClass testClass, org.junit.runner.Description testDescription) throws java.io.IOException
      Send request to remote server to execute a test using the supplied test class and test description. It is by default assumed that the testClass and a class described by the testDescription are related.
      Parameters:
      notifier - test run notifier that will be notified when remote machine executes a test
      testClass - test class
      testDescription - description of test that should be executed.
      Throws:
      java.io.IOException