I am interested in writing integration tests for the Peepcode Order application as a testing suite in Ember.js however I am stumbling though getting a “integration” package setup to run in Ember.
I’ve added an “integration” suite in ember-dev.yml I also added an “integration” distro in the Assetfile
I don’t think this is possible to add a full app as an integration test suite within Ember as this Peepcode app needs Ember data too. I think I’ll try another way to write integration tests.
One more change that we needed to do was to style jasmine output to be located over the app, so you can see the tests output clearly. You may check it out by doing:
git clone https://github.com/travis-ci/travis-web.git
cd travis-web
bundle install
bundle exec rakep
bundle exec foreman start
open http://localhost:5000/spec.html
You could have a similar setup with other kinds of runners as well.
Drogus,
I see in last master of travis-web that you moved from jasmine to qunit and finally remove (comment) some test. Would it be possible that you explain what did you make move away from Jasmine ? Did you encounter some problems with your setup ?
@adriencoquio sorry for a super late answer, I think I didn’t get a notification on the email and I spotted the notification on the forum just now. I moved to qunit, because it’s supported by Ember.js out of the box and at the moment when I was working on upgrading Ember.js I was really frustrated with a state of our test at Travis CI, so I wanted to quickly fix it. It’s probably not hard to add jasmine support to Ember.js, but I didn’t feel like I want to experiment.