Result

Result

new Result()

This class represents results of salep tests. It helps you see summary of tests with fail, success, skip and total counts. Result also has all tests and their case objects, so if it is needed you can iterate on them and see which test have which cases, which case failed and why, etc.

Source:

Members

cases :Array.<Case>

This property holds all test cases written in salep scope. Cases inside tests is not listed inside this property. Just salep.case's are listed here.

Type:
Source:

fail :number

Indicates number of failed cases

Type:
  • number
Source:

skip :number

Indicates number of skipped cases

Type:
  • number
Source:

success :number

Indicates number of successful cases

Type:
  • number
Source:

tests :Array.<Test>

This property holds all tests written in salep scope. Nested tests written inside tests will be nested. Just salep.test's are listed here.

Type:
Source:

total :number

Indicates number of total cases

Type:
  • number
Source: