Understanding AngularJS Unit Tests

Unit testing AngularJS applications is very similar to unit testing other frameworks. I’m not going to go into the details of unit testing in this appendix since it is framework specific. Rather, I am going to discuss some aspects of unit testing and how they apply to AngularJS mechanisms.

A lot of the information I am providing here can also be found in the AngularJS documentation. I’ve added the URL to the AngularJS unit testing documentation here to provide some additional thoughts:

https://docs.angularjs.org/guide/unit-testing

Get Learning AngularJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.