|
TestBox 2.4.0 | ||||
FRAMES |
railo-context.Componenttestbox.system.runners.BaseRunner
public class BaseRunner
Copyright Since 2005 TestBox Framework by Luis Majano and Ortus Solutions, Corp 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 |
---|
|
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, any target)
methodName
- The method name to validatetarget
- The target object
|
TestBox 2.4.0 | ||||
FRAMES |