#
cp.spec.Run
An individual run of a test Definition or Specification.
#
Submodules
#
API Overview
Constructors - API calls which return an object, typically one that offers API methods
Run
Fields - Variables which can only be accessed from an object returned by a constructor
phase report result shared source
Methods - API calls which can only be made on an object returned by a constructor
debug expectAbort expectFail isDebugging isExpectingAbort isExpectingFail log onBefore onBfter onRunning parent verbose
#
API Documentation
#
Constructors
#
Run
#
Fields
#
phase
#
report
#
result
#
shared
#
source
#
Methods
#
debug
#
expectAbort
#
expectFail
#
isDebugging
#
isExpectingAbort
#
isExpectingFail
#
log
#
onBefore
#
onBfter
#
onRunning
#
parent
#
verbose
See also
Module
An synchronous/asynchronous test library for Lua.
Default implementation of Handler, which outputs via the standard print function.
A Definition is a superclass for a "runnable" specification. It doesn't do anything itself, but provides a common ancestor for all implementation
Subclasses of this can customise how reports are handled. All methods do nothing.
The results of a test run.
A token passed to test functions to allow them to indicate if a test run will complete asynchronously.
A Definition which describes a specific scenario.
A Specification is a list of definitions which will be run in sequence, and the results are collated. It is often created via the describe function.