Introduction to Test Coverage of a Web Application

Get introduced to complementing the quality assessment of a web application with code coverage across the various test automation frameworks.

We'll cover the following

There are many metrics and measures for code quality, including defect density, user stories covered, and other opaque box measurements. However, there is also a complementary metric that has been on the market for a long while and is more of an internal metric, which is code coverage.

Goal of this chapter

In this chapter, we will learn how to complement the quality assessment of our web application with code coverage across the various test automation frameworks featured in this course.

The chapter is designed to cover the following:

  • Understand the differences between code coverage and test coverage and when to use them.

  • Learn about the recommended tools for JavaScript code coverage measurements.

  • Understand how to complement code coverage measurements with test coverage capabilities, for example, production data, platform coverage, and analytics.

Get hands-on with 1200+ tech skills courses.