Extends
Members
engine :*
- Source:
- Inherited From:
Current engine accessor.
Methods
make(abstract, parametersopt)
- Source:
Call make method from the current application.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
abstract |
* | An abstract that was bound to the container, or a class, closure or instance that can be built by the container. | ||
parameters |
object.<string, *> |
<optional> |
{}
|
Additional arguments to inject into the concrete when instantiating. |
Returns:
The instantiated or the singleton concrete.
- Type
- *
setApp(app)
- Source:
Set current application.
Parameters:
Name | Type | Description |
---|---|---|
app |
foundation.Application | The application instance. |
Returns:
The current test case.
- Type
- test.TestCase
beforeAll()
- Source:
- Inherited From:
Setup before the first class test.
beforeEach()
- Source:
- Inherited From:
Setup before any class test.
afterEach()
- Source:
- Inherited From:
Tear down after any class test.
afterAll()
- Source:
- Inherited From:
Tear down after the last class test.
expect(…parameters)
- Source:
- Inherited From:
Make expect assertion.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
parameters |
* |
<repeatable> |
Call parameters. |
Returns:
Test engine expect matcher instance.
- Type
- Matchers
assert()
- Source:
- Inherited From:
Make assertion.
Returns:
The assert object.
- Type
- Assert | null
setEngine(engine)
- Source:
- Inherited From:
Set current engine.
Parameters:
Name | Type | Description |
---|---|---|
engine |
* | The engine instance. |
Returns:
The current instance.