This book is mainly about how to get started being productive with Angular, but it would be incomplete without at least introducing ways to test the code that you write. The testing framework is quite complicated, so don’t expect to know everything about it after reading this chapter.
I’ll introduce some of the concepts and then go into the details of writing code to automate the testing of a project that was generated with the Angular CLI.