Class Ember.Test
publicThis is a container for an assortment of testing related functionality:
- Choose your default test adapter (for your framework of choice).
- Register/Unregister additional test helpers.
- Setup callbacks to be fired when the test helpers are injected into your application.
adapter public
Defined in packages/ember-testing/lib/test.js:61
Used to allow ember-testing to communicate with a specific testing framework.
You can manually set it before calling App.setupForTesting()
.
Example:
1 |
Ember.Test.adapter = MyCustomAdapter.create() |
If you do not set it, ember-testing will default to Ember.Test.QUnitAdapter
.
testHelpers public
Defined in packages/ember-testing/lib/ext/application.js:16
This property contains the testing helpers for the current application. These
are created once you call injectTestHelpers
on your Ember.Application
instance. The included helpers are also available on the window
object by
default, but can be used from this object on the individual application also.
testing public
Defined in packages/ember-testing/lib/ext/application.js:45
Available since v1.3.0
This property indicates whether or not this application is currently in
testing mode. This is set when setupForTesting
is called on the current
application.