Class
TestingService
lucee.Component
commandbox.system.modules_app.testbox-commands.models.TestingService
Copyright Since 2014 CommandBox by Ortus Solutions, Corp
www.coldbox.org | www.ortussolutions.com
I handle working with TestBox
Class Attributes:
singleton
synchronized
: false
accessors
: true
persistent
: false
author
: Brad Wood, Luis Majano, Denny Valliant
Property Summary
|
type
|
property
|
default
|
serializable
|
required
|
any
|
packageService
- access = public
- returntype = any
- inject = PackageService
|
|
true
|
false
|
Constructor Summary
|
init()
Constructor.
|
Methods inherited from class lucee.Component
|
None
|
init
public init()
Constructor
packageService
property any
packageService
- Attributes:
access
- public
required
- false
returntype
- any
inject
- PackageService
serializable
- true
getPackageService
public string getPackageService()
getTestBoxRunner
public any getTestBoxRunner(string directory, [string slug=''])
Gets a TestBox runner URL from box.json with an optional slug to look up. If no slug is passed, the first runner will be used
- Parameters:
directory
- The directory that is the root of the package
slug
- An optional runner slug to look for in the list of runners
setPackageService
public any setPackageService(any packageService)
- Parameters:
packageService