Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITCGiven

This interface is implemented by the return value of a testcase's given function.

It can be used to chain multiple given functions together sequentially by calling .and or to trigger a state change by invoking .when.

Hierarchy

  • ITCGiven

Index

Properties

Properties

and

and: function

Call this function to chain multiple given functions together sequentially.

To validate the initial state following the execution of this step, use validate inside the step callback.

param

a step that establishes the initial state

Type declaration

when

when: function

Call this function to invoke a state change of the tested application.

To validate the state following the execution of this step, use validate inside the step callback.

param

a step that performs a state change

Type declaration

Generated using TypeDoc