Best testing framework for Ember.js


Which is the best testing framework for Ember.js?

QUnit or Jasmine

Any suggestions…

Thanks :smile:


Define best …

While I personally prefer Jasmine’s API, QUnit ist definitively the way of least resistance., especially if you want to write unit tests that initialize just the necessary Ember artifacts (see ember-qunit).

There is a Jasmine adapter for ember-testing though, and if your focus is mainly on testing with a full ember application (integration or functional tests), it is relatively easy to switch to Jasmine. For unit tests, you’d probably want to write a set of setup helpers similar to ember-qunit though.

So look at some examples written in either framework and see which style you prefer.