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.
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 suppliedtest class
andtest 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.IOExceptionSend request to remote server to execute a test using the suppliedtest class
andtest description
. It is by default assumed that thetestClass
and a class described by thetestDescription
are related.- Parameters:
notifier
-test run notifier
that will be notified when remote machine executes a testtestClass
-test class
testDescription
-description
of test that should be executed.- Throws:
java.io.IOException
-