Class: Scenario

amiwo/test~ Scenario


<abstract> new Scenario()

Source:

Methods


run()

Run a test an generate a result

Source:
Returns:

promise wrapping an Object which format must be the same as the input of the validate() method

Type
Promise

validate()

Tests whether the output of a TestScenario is valid or not

Source:
Returns:

wrapping an Object {valid: {boolean}, result: {any}}

Type
Promise