2 ms·
A big fraction of the Ember community uses ember-rails, and tests using standard Rails tools. For those of us not using Rails, here's a jsFiddle that shows how
by ekidd 14y ago
A big fraction of the Ember community uses ember-rails, and tests using standard Rails tools.
For those of us not using Rails, here's a jsFiddle that shows how to test an Ember.js application: http://jsfiddle.net/ekidd/hCsws/ http://jsfiddle.net/ekidd/hCsws/
This includes both unit tests (for models, views and controllers) and full integration tests (using jQuery and chai-jquery to drive the GUI). There are one or two rough edges, which are documented, and which I plan to submit bugs about soon.