Class Ember.Test.QUnitAdapter

public
Extends: TestAdapter
Module: ember
Since: v3.1.3

This class implements the methods defined by TestAdapter for the QUnit testing framework.

Show:

Module: ember

Available since v3.1.3

This callback will be called whenever an async operation has completed.

Module: ember

Available since v3.1.3

This callback will be called whenever an async operation is about to start.

Override this to call your framework's methods that handle async operations.

Module: ember

Available since v3.1.3

error
String
The exception to be raised.

Override this method with your testing framework's false assertion. This function is called whenever an exception occurs causing the testing promise to fail.

QUnit example:

1
2
3
  exception: function(error) {
    ok(false, error);
  };