dimanche 3 janvier 2016

How should I manage test scripts in an SPA?

I am making an SPA with AngularJS and "gulping" everything into one single JS file. How should I manage unit test scripts (jasmine)?

I'm guessing it's not recommended to include them for production purposes.

Should I add a separate script tag for a single JS file with all the test scripts? But then how would I remove it in production assuming I'm just pulling the updated code into the production env?

Aucun commentaire:

Enregistrer un commentaire