#
cp.spec.Definition
A Definition is a superclass for a "runnable" specification. It doesn't do anything itself, but provides a common ancestor for all implementation classes like Specification and Scenario.
#
API Overview
Functions - API calls offered directly by the extension
is
Constructors - API calls which return an object, typically one that offers API methods
Definition
Methods - API calls which can only be made on an object returned by a constructor
run
#
API Documentation
#
Functions
#
is
#
Constructors
#
Definition
#
Methods
#
run
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.
cp.spec.Where
Created via Scenario:where(...).