I'm learning Ember basics running the code online in the awesome http://ember.jsbin.com/ code fiddling service. It provides a basic boilerplate of an HTML file, a CSS file and a JS file.
I wonder how can use it to run unit tests of my Ember app.
My goal is to be able to run the app and the tests from a single JSBin instance. I imagine switching between the two modes by adding/removing ?test
in the URL, or something like that.
Okay, i gave it another try and found that official Ember Guides contain a demo of how it can be done in JSBin.com!
Demo: http://jsbin.com/jesuyeri/20/edit?js,output Relevant guides page: http://emberjs.com/guides/testing/test-helpers/