Chapter 11: Unit test an Angular App

In the previous chapters, we have gone through many aspects of how to build an enterprise Angular 10 application from scratch. But how can we ensure that an application can be maintained in the future without much hassle? A comprehensive automated testing layer can become our lifeline once our application begins to scale up and we have to mitigate the impact of bugs.

Testing (and, more specifically, unit testing) is meant to be carried out by the developer as the project is being developed; however, we will cover all the intricacies of testing an Angular application briefly in this chapter, now that our knowledge for the framework is at a mature stage.

In this chapter, we will learn how to use testing tools ...

Get Learning Angular - Third Edition 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.