Skip to Main Content
Modern CMake for C++
book

Modern CMake for C++

by Rafał Świdziński
February 2022
Intermediate to advanced content levelIntermediate to advanced
460 pages
9h 35m
English
Packt Publishing
Content preview from Modern CMake for C++

Chapter 8: Testing Frameworks

Tenured professionals know that testing has to be automated. Someone explained that to them years ago or they learned the hard way. This practice isn't as obvious to inexperienced programmers: it seems unnecessary, additional work that doesn't bring much value. No wonder: when someone is just starting writing code, they'll avoid writing complex solutions and contributing to vast code bases. Most likely, they're the sole developer on their pet project. These early projects hardly ever need more than a few months to complete, so there's hardly any opportunity to see how code rots over a longer period.

All these factors contribute toward the notion that writing tests is a waste of time and effort. The programming apprentice ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modern CMake for C++ - Second Edition

Modern CMake for C++ - Second Edition

Rafał Świdziński

Publisher Resources

ISBN: 9781801070058Supplemental Content