com.projectdarkstar.tools.dtc.runners
Interface TestRunner
public interface TestRunner
The TestRunner interface is the main interface that must be implemented
in order to run a suite of tests in the Darkstar Test Cluster. It is
responsible for taking a test configuration, running it on the cluster,
and collecting and reporting the results back to persistent storage.
run
void run(TestExecutionResultDTO test,
RuntimeExecutionsService service,
MasterDrone masterDrone)
- Run the specified test according to its specification.
The configuration includes all of the information necessary to
run the test application. It also includes the hardware resources
where each component should be run. This method should supply the
logic that decides how to run the test, and also the decision
about whether or not the test passes or fails. Test result logs
should be updated using the given service, and the test result
should be updated as well once the test completes.
- Parameters:
test - test to runservice - service interface used to update test resultsmasterDrone - master drone which must be passed to slaves in order to receive feedback
Copyright © 2013. All Rights Reserved.