jeudi 5 mars 2015

How can I seperate ember-cli integration tests from acceptance tests?

Currently using ember-cli 0.2.0-beta with ember-cli-mocha tests. I use the test helpers for the acceptance tests, but I fake xhr to avoid having to run the server.


I want to include integration tests that do hit the server, but I don't want them to run alongside all the other unit tests every time.



tests
|--> unit
|--> acceptance
|--> (integration?)


Then maybe I can pass ember test some flag or config when I want to include the integration folder?


Aucun commentaire:

Enregistrer un commentaire