#
cp.spec.Run.This
A token passed to test functions to allow them to indicate if a test run will complete asynchronously.
#
API Overview
Constants - Useful values which cannot be changed
state
Functions - API calls offered directly by the extension
defaultTimeout
Constructors - API calls which return an object, typically one that offers API methods
This
Methods - API calls which can only be made on an object returned by a constructor
abort cleanup done expectAbort expectFail fail isActive isDone isWaiting log prepare run toObserver wait
#
API Documentation
#
Constants
#
state
#
Functions
#
defaultTimeout
#
Constructors
#
This
#
Methods
#
abort
#
cleanup
#
done
#
expectAbort
#
expectFail
#
fail
#
isActive
#
isDone
#
isWaiting
#
log
#
prepare
#
run
#
toObserver
#
wait
See also
CommandPost
Module
cp.spec
An synchronous/asynchronous test library for Lua.
cp.spec.Run
An individual run of a test Definition or Specification.
cp.spec.Scenario
A Definition which describes a specific scenario.
cp.spec.Specification
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.