Methods
(async) run(tests) → {Array.<Object>}
Run tests and return a data structure of results
Parameters:
Name | Type | Description |
---|---|---|
tests |
Array.<Test> |
Properties:
Name | Type | Description |
---|---|---|
passedCount |
number | |
failedCount |
number | |
assertionCount |
number |
- Source:
Returns:
- Object attributes: {bool} passed, {Test} test, {string} message
- Type
- Array.<Object>
(async) runAndLog()
Run tests and print a summary to the console
- Source:
(async) runAndTAP(tests) → {string}
Run tests and return TAP formatted results
Parameters:
Name | Type | Description |
---|---|---|
tests |
Array.<Test> |
- Source:
Returns:
- TAP formatted results
- Type
- string