Application Testing

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.

Get Learning TypeScript 2.x - Second 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.