railo-context.Component testbox.system.runners.BaseRunner
Copyright Since 2005 TestBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com The TestBox main base runner which has all the common methods needed for runner implementations.
Method Summary | |
---|---|
boolean
|
canRunBundle(any bundlePath, any testResults)
Checks if we can run the test bundle due to using testBundles arguments or incoming URL filters. |
boolean
|
canRunLabel(any incomingLabels, any testResults)
Checks if the incoming labels are good for running. |
boolean
|
canRunSpec(any name, any testResults)
Checks if we can run the spec due to using testSpec arguments or incoming URL filters. |
boolean
|
canRunSuite(any suite, any testResults)
Checks if we can run the suite due to using testSuite arguments or incoming URL filters. |
any
|
getMethodAnnotation(any target, any name, [any defaultValue=''])
Get metadata from a method. |
boolean
|
isValidTestMethod(any methodName, any target)
Validate the incoming method name is a valid TestBox test method name. |
Methods inherited from class railo-context.Component |
---|
None |
Method Detail |
---|
Checks if we can run the test bundle due to using testBundles arguments or incoming URL filters.
bundlePath
testResults
- The testing results objectChecks if the incoming labels are good for running
incomingLabels
- The incoming labels to test against this runner's labels.testResults
- The testing results objectChecks if we can run the spec due to using testSpec arguments or incoming URL filters.
name
- The spec nametestResults
- The testing results objectChecks if we can run the suite due to using testSuite arguments or incoming URL filters.
suite
- The suite definitiontestResults
- The testing results objectGet metadata from a method
target
- The target methodname
- The annotation to look fordefaultValue
- The default value to return if not foundValidate the incoming method name is a valid TestBox test method name
methodName
- The method name to validatetarget
- The target object