In Chapter 9, Automating Your Development Workflow, we learned how to write unit tests and generate a test coverage report. However, application testing is a very extensive subject, and we barely touched its surface.
In this chapter, we are going to learn how to write multiple kinds of automated tests for a TypeScript application. We are going to cover the following topics:
- Testing terminology
- Testing planning and methodologies
- Writing unit tests
- Isolating components during tests
- Writing integration tests
- Writing end-to-end (e2e) tests
We are going to get started by learning about the core terminology used in the field of software testing.