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
Written by Wojtek Ryrych
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Emberjs
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#