KoboldTask Class
Constructor
KoboldTask
()
Item Index
Methods
- _run
- augment
- getClientDecoratorPlugins
- getConfiguration
- getCoverageCollector
- getDecorators
- getFunctions
- getGlobalConfig
- getGlobals
- getGrep
- getLabel
- getMochaConfiguration
- getName
- getOptions
- getPaths
- getPlugins
- getRecursive
- getReporter
- getReportManager
- getRequire
- getSlowThreshold
- getTaskDecoratorPlugins
- getTaskId
- getTaskPlugin
- getTimeOut
- getTitle
- getType
- getUi
- inDebug
- initialize
- isActive
- isSuite
- isVerbose
- run
- runClient
- setMochaConfiguration
- shouldBail
- shouldCheckLeaks
- shouldEchoStdErr
- shouldEchoStdOut
- shouldFailOnError
- shouldInvert
- shouldReport
- shouldSort
- useAsyncOnly
- useColors
- useInlineDiffs
- useTimeOuts
- validate
Methods
augment
()
Augments the data with default values
getCoverageCollector
()
Collector
Gets the coverage collector
Returns:
Collector:
getFunctions
()
Function[]
Gets a list of functions to execute before the tests
Mocha Option:
Returns:
getMochaConfiguration
()
Object
Gets the mocha configuration Overwrite this function if the mocha configuration is found somewhere else.
Returns:
getReportManager
()
ReportManager
Gets the report manager
Returns:
ReportManager:
getRequire
()
String[]
List of files to be required before the tests are run Mocha Option: require
Returns:
getSlowThreshold
()
Int
Gets the threshold for slow tests Mocha Option: slow
Returns:
Int:
getTimeOut
()
Int
Gets the threshold for too slow test-suites Mocha Option: timeout
Returns:
Int:
initialize
()
Initializes the instance
runClient
(
Promise
-
parentId
-
clientPath
Runs the client in a forked environment
Returns:
Promise:
setMochaConfiguration
(
-
options
Sets the mocha configuration Overwrite this function if the mocha configuration is found somewhere else.
Parameters:
-
options
Object
shouldSort
()
Boolean
Should tests be sorted after gathering and before executing? Mocha Option: sort
Returns:
validate
()
Validates the given data