TestBox 2.4.0

testbox.system.runners
Interface IRunner

testbox.system.runners.IRunner
All Known Implementing Classes:
BDDRunner , UnitRunner

public interface IRunner

Copyright Since 2005 TestBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- This TestBox runner is used to run and report on xUnit style test suites.


Constructor Summary
init(struct options, any testbox)
          Constructor
 
Method Summary
 any run(any target, TestResult testResults, any callbacks)
          Execute a test run on a target bundle CFC
 

Constructor Detail

init

public init(struct options, any testbox)
Constructor

Parameters:
options - The options for a runner
testbox - The TestBox class reference
Method Detail

run

public any run(any target, TestResult testResults, any callbacks)
Execute a test run on a target bundle CFC

Parameters:
target - The target bundle CFC to test
testResults - The test results object to keep track of results for this test case
callbacks - A struct of listener callbacks or a CFC with callbacks for listening to progress of the testing: onBundleStart,onBundleEnd,onSuiteStart,onSuiteEnd,onSpecStart,onSpecEnd

TestBox 2.4.0