Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
A Frontend Web Developer's Guide to Testing

You're reading from   A Frontend Web Developer's Guide to Testing Explore leading web test automation frameworks and their future driven by low-code and AI

Arrow left icon
Product type Paperback
Published in Mar 2022
Publisher Packt
ISBN-13 9781803238319
Length 304 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Eran Kinsbruner Eran Kinsbruner
Author Profile Icon Eran Kinsbruner
Eran Kinsbruner
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1 – Frontend Web Testing Overview
2. Chapter 1: Cross-Browser Testing Methodologies FREE CHAPTER 3. Chapter 2: Challenges Faced by Frontend Web Application Developers 4. Chapter 3: Top Web Test Automation Frameworks 5. Chapter 4: Matching Personas and Use Cases to Testing Frameworks 6. Chapter 5: Introducing the Leading Frontend Web Development Frameworks 7. Part 2 – Continuous Testing Strategy for Web Application Developers
8. Chapter 6: Map the Pillars of a Dev Testing Strategy for Web Applications 9. Chapter 7: Core Capabilities of the Leading JavaScript Test Automation Frameworks 10. Chapter 8: Measuring Test Coverage of the Web Application 11. Part 3 – Frontend JavaScript Web Test Automation Framework Guides
12. Chapter 9: Working with the Selenium Framework 13. Chapter 10: Working with the Cypress Framework 14. Chapter 11: Working with the Playwright Framework 15. Chapter 12: Working with the Puppeteer Framework 16. Chapter 13: Complementing Code-Based Testing with Low-Code Test Automation 17. Chapter 14: Wrapping Up 18. Other Books You May Enjoy

Chapter 8: Measuring Test Coverage of the Web Application

How do you know that you've tested your web application enough? There are many metrics and measures for code quality, including defect density, user stories covered, and other "black-box" measurements. However, there is also a complementary metric that has been on the market for a long while and is more of a "white-box" metric, which is code coverage. In this chapter, you will learn how to complement the quality assessment of your web application with code coverage across the various test automation frameworks featured in this book (Selenium, Cypress, Playwright, and Puppeteer).

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 tool(s) for JavaScript code coverage measurements.
  • Understand how to complement code coverage measurements with test coverage capabilities (for...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime