Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Testing Your Tests With Code Coverage

ACCU Conference via YouTube

Overview

Explore the importance of comprehensive code testing and learn how to leverage code coverage tools in this ACCU 2021 conference talk. Discover why testing is crucial for improving code quality, and see practical examples using a sample library and test suite. Learn to generate and interpret coverage data, including the creation of .gcda files. Understand how to analyze coverage reports to identify gaps in test cases and improve overall code reliability. Gain insights into the benefits of regularly checking code coverage and how it can enhance your development process. Suitable for developers looking to strengthen their testing practices and ensure more robust, bug-free code.

Syllabus

Why bother testing? • Testing improves quality
Example library/class
Example test suite
Generating coverage data
New file - *.gcda
Understanding the coverage report
Benefits of checking code coverage
Questions?

Taught by

ACCU Conference

Reviews

Start your review of Testing Your Tests With Code Coverage

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.