Unit testing is all about testing a block of code in isolation. As with any other programming language, unit testing allows developers to create robust and reliable software by designing and developing the software components based on testability principles. Angular provides support for unit testing components, services, and so on, using tools such as Jasmine, Karma, and Protractor, along with in-built testing utilities. In this chapter, you will learn concepts such as the following in relation to creating single page applications (SPA) using Angular and Spring 5:
- Introduction to unit testing
- Unit testing tools for Angular apps
- Setting up the testing environment
- Angular unit testing building blocks
- Unit testing strategies
- Unit testing the components
- Unit testing the services