org.jboss.arquillian.spi
Interface TestRunner


public interface TestRunner

TestRunner A Generic way to start the test framework.


Nested Class Summary
static class TestRunner.ExecutionMode
           
 
Method Summary
 TestResult execute(java.lang.Class<?> testClass, java.lang.String methodName)
          Run a single test method in a test class.
 void setExecutionMode(TestRunner.ExecutionMode executionMode)
          Instruct the TestRunner which mode to run in.
 

Method Detail

execute

TestResult execute(java.lang.Class<?> testClass,
                   java.lang.String methodName)
Run a single test method in a test class.

Parameters:
testClass - The test case class to execute
methodName - The method to execute
Returns:
The result of the test

setExecutionMode

void setExecutionMode(TestRunner.ExecutionMode executionMode)
Instruct the TestRunner which mode to run in.

Parameters:
executionMode -