Testing Your Tests With Code Coverage
Offered By: ACCU Conference via YouTube
Course Description
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
Related Courses
Khronos Sycl Language Framework for C++ Accelerators - Take Advantage of All the MIPSACCU Conference via YouTube Space Invaders - The C++20 Spaceship Operator is Upon Us
ACCU Conference via YouTube Grinding, Farming, and Alliances - Become a Better Programmer by Using Words and Ideas From Casual Gaming
ACCU Conference via YouTube Designing for C++ Concurrency Using Message Passing
ACCU Conference via YouTube Productivity in C++ Game Development - Inside the Mind of an AAA Game Developer
ACCU Conference via YouTube