dimanche 22 février 2015

Javascript Unit Testing in Symfony

So some context:


We use Symfony to load our assets (as we have quite a few dependencies (Underscore, Marionette, Backbone, .. etc) and we run Javascript unit tests, using Jasmine. So to run them within our CI server, we use PhantomJS to hit the spec Symfony route. The problem then comes with the speed of it being run in dev mode.


What options do we have running Jasmine tests properly (considering our dependencies are managed through a Symfony Twig template) through a CLI tool rather than hitting them via a URL?


Aucun commentaire:

Enregistrer un commentaire