I have an AngularJS app that I would like to get started unit testing with. As it is now, an index.php page is served from which the angular app takes over. I'm new to unit testing in general and would like to know what is the best practice for this case.
Should I create a "fake" index.html that can be tested? If so, where should the file be kept? Is there a way to serve index.php so that it may be used as is?
Any help is greatly appreciated.
Aucun commentaire:
Enregistrer un commentaire