public interface TestCaseRunner extends TestRunner
Runs a TestCase
| Type Params | Return Type | Name and description |
|---|---|---|
|
public int |
getResultCount()Return the number of test steps results that have been returned from test steps. |
|
public java.util.List<TestStepResult> |
getResults()Gets the accumulated results so far; each TestStep returns a TestStepResult when running. |
|
public TestCaseRunContext |
getRunContext()Returns the context used by this runner |
|
public TestCase |
getTestCase()Gets the TestCase being run |
|
public void |
gotoStep(int index)Transfers execution of this TestRunner to the TestStep with the specified index in the TestCase |
|
public void |
gotoStepByName(java.lang.String stepName)Transfers execution of this TestRunner to the TestStep with the specified name in the TestCase |
|
public boolean |
isDebugScripts()Returns true if test case is being run with script debugger, false - otherwise @return |
|
public TestStepResult |
runTestStepByName(java.lang.String name)Runs the specified TestStep and returns the result |
| Methods inherited from class | Name |
|---|---|
interface TestRunner |
cancel, fail, getReason, getRunContext, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, shouldSaveMetrics, start, waitUntilFinished |
Return the number of test steps results that have been returned from test steps. Note that some of these results may have been discarded, so this value may differ from the size of the collection returned from getResults()
Gets the accumulated results so far; each TestStep returns a TestStepResult when running.
Returns the context used by this runner
Gets the TestCase being run
Transfers execution of this TestRunner to the TestStep with the specified index in the TestCase
Transfers execution of this TestRunner to the TestStep with the specified name in the TestCase
Returns true if test case is being run with script debugger, false - otherwise
Runs the specified TestStep and returns the result