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.
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:
- Array.<Case>
fail :number
Indicates number of failed cases
Type:
- number
skip :number
Indicates number of skipped cases
Type:
- number
success :number
Indicates number of successful cases
Type:
- number
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:
- Array.<Test>
total :number
Indicates number of total cases
Type:
- number