Extends
Members
(static) dependencies :Array.<string>
- Source:
Class dependencies:
['app']
.
engine :*
- Source:
- Inherited From:
Current engine accessor.
Methods
run(testList)
- Source:
Run a list of tests.
Parameters:
Name | Type | Description |
---|---|---|
testList |
Array.<{instane: test.TestCase, name: string, namespace: string, tests: Array.<{method: string, description: string}>}> | List of tests. |
runTest(test)
- Source:
Run every tests of a single test case instance.
Parameters:
Name | Type | Description |
---|---|---|
test |
Object | Single test. |
describe(…parameters)
- Source:
Describe the inner tests.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
parameters |
* |
<repeatable> |
Call parameters. |
Returns:
The call returned value.
- Type
- *
beforeAll(…parameters)
- Source:
Setup before the first inner test.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
parameters |
* |
<repeatable> |
Call parameters. |
Returns:
The call returned value.
- Type
- *
beforeEach(…parameters)
- Source:
Setup before any inner test.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
parameters |
* |
<repeatable> |
Call parameters. |
Returns:
The call returned value.
- Type
- *
afterAll(…parameters)
- Source:
Tear down after the last inner test.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
parameters |
* |
<repeatable> |
Call parameters. |
Returns:
The call returned value.
- Type
- *
afterEach(…parameters)
- Source:
Tear down after any inner test.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
parameters |
* |
<repeatable> |
Call parameters. |
Returns:
The call returned value.
- Type
- *
test(…parameters)
- Source:
Test a given case.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
parameters |
* |
<repeatable> |
Call parameters. |
Returns:
The call returned value.
- Type
- *
setEngine(engine)
- Source:
- Inherited From:
Set current engine.
Parameters:
Name | Type | Description |
---|---|---|
engine |
* | The engine instance. |
Returns:
The current instance.