com.eviware.soapui.model.testsuite
Interface TestCaseRunner

All Superinterfaces:
TestRunner
All Known Implementing Classes:
MockTestRunner, WsdlTestCaseRunner

public interface TestCaseRunner
extends TestRunner

Runs a TestCase

Author:
Ole.Matzura

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.TestRunner
TestRunner.Status
 
Method Summary
 java.util.List<TestStepResult> getResults()
          Gets the accumulated results so far; each TestStep returns a TestStepResult when running.
 TestCaseRunContext getRunContext()
          Returns the context used by this runner
 TestCase getTestCase()
          Gets the TestCase being run
 void gotoStep(int index)
          Transfers execution of this TestRunner to the TestStep with the specified index in the TestCase
 void gotoStepByName(java.lang.String stepName)
          Transfers execution of this TestRunner to the TestStep with the specified name in the TestCase
 TestStepResult runTestStepByName(java.lang.String name)
          Runs the specified TestStep and returns the result
 
Methods inherited from interface com.eviware.soapui.model.testsuite.TestRunner
cancel, fail, getReason, getStartTime, getStatus, getTestRunnable, getTimeTaken, start, waitUntilFinished
 

Method Detail

getTestCase

TestCase getTestCase()
Gets the TestCase being run

Returns:
the TestCase being run

getResults

java.util.List<TestStepResult> getResults()
Gets the accumulated results so far; each TestStep returns a TestStepResult when running.

Returns:
the accumulated results so far

gotoStep

void gotoStep(int index)
Transfers execution of this TestRunner to the TestStep with the specified index in the TestCase


gotoStepByName

void gotoStepByName(java.lang.String stepName)
Transfers execution of this TestRunner to the TestStep with the specified name in the TestCase


runTestStepByName

TestStepResult runTestStepByName(java.lang.String name)
Runs the specified TestStep and returns the result


getRunContext

TestCaseRunContext getRunContext()
Returns the context used by this runner

Specified by:
getRunContext in interface TestRunner


Copyright © 2005-2009 eviware.com. All Rights Reserved.