|
ColdBox Platform v3.8.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.testing.runners.BaseRunner
public class BaseRunner
******************************************************************************* Copyright 2005-2009 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | 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)
Validate the incoming method name is a valid TestBox test method name |
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Method Detail |
---|
public boolean canRunBundle(any bundlePath, any testResults)
bundlePath
testResults
- The testing results objectpublic boolean canRunLabel(any incomingLabels, any testResults)
incomingLabels
- The incoming labels to test against this runner's labels.testResults
- The testing results objectpublic boolean canRunSpec(any name, any testResults)
name
- The spec nametestResults
- The testing results objectpublic boolean canRunSuite(any suite, any testResults)
suite
- The suite definitiontestResults
- The testing results objectpublic any getMethodAnnotation(any target, any name, [any defaultValue=''])
target
- The target methodname
- The annotation to look fordefaultValue
- The default value to return if not foundpublic boolean isValidTestMethod(any methodName)
methodName
- The method name to validate
|
ColdBox Platform v3.8.0 | ||||
FRAMES |