Measuring Ember.js tests run time

As you write more and more Ember.js tests, acceptance tests in particular, after some time, all your test suite can easily slow down. Before you dive into replacing acceptance tests with integration ones (sometimes it’s desirable) run this simple benchmark to see how long it takes Ember.js to finish all of them.

start_time=`date +%s` && npm test && echo run time is $(expr `date +%s` - $start_time) s

268 seconds