Class Ember.Test


This 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.


Module: ember

Used to allow ember-testing to communicate with a specific testing framework.

You can manually set it before calling App.setupForTesting().


Ember.Test.adapter = MyCustomAdapter.create()

If you do not set it, ember-testing will default to Ember.Test.QUnitAdapter.

Module: ember

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.

Module: ember

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.