railo-context.Component testbox.system.runners.BaseRunner testbox.system.runners.BDDRunner
Copyright Since 2005 TestBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com This TestBox runner is used to run and report on BDD style test suites.
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
options
|
true
|
false
|
|
any
|
testbox
|
true
|
false
|
Constructor Summary | |
---|---|
init(struct options, any testBox)
Constructor. |
Method Summary | |
---|---|
string
|
getOptions()
|
string
|
getTestbox()
|
private array
|
getTestSuites(any target, any targetMD)
Get all the test suites in the passed in bundle. |
any
|
run(any target, TestResult testResults)
Execute a BDD test on the incoming target and store the results in the incoming test results. |
any
|
setOptions(any options)
|
any
|
setTestbox(any testbox)
|
private any
|
testSuite(any target, any suite, any testResults, any bundleStats, [any parentStats='[runtime expression]'])
Test the incoming suite definition. |
Methods inherited from class testbox.system.runners.BaseRunner |
---|
canRunBundle, canRunLabel, canRunSpec, canRunSuite, getMethodAnnotation, isValidTestMethod |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
options
- The options for this runnertestBox
- The TestBox class referenceProperty Detail |
---|
required
- falseserializable
- truerequired
- falseserializable
- trueMethod Detail |
---|
Get all the test suites in the passed in bundle
target
- The target to get the suites fromtargetMD
- The metdata of the targetExecute a BDD test on the incoming target and store the results in the incoming test results
run
in interface
IRunner
target
- The target bundle CFC to testtestResults
- The test results object to keep track of results for this test caseoptions
testbox
Test the incoming suite definition
target
- The target bundle CFCsuite
testResults
- The testing results objectbundleStats
- The bundle stats this suite belongs toparentStats
- If this is a nested test suite, then it will have some parentStats goodness