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