June 2025
Intermediate to advanced
1093 pages
33h 24m
English
To show you how unit tests can be integrated into an actual project, I will demonstrate the structure of a complete project in this section. It consists of
a library,
an example program that uses this library,
and a set of unit tests for the library.
The whole thing is embedded in a Makefile project, but it can be transferred to a project in your favorite IDE without much effort.
I am expanding the example project from Chapter 11, Section 11.4 here. For the basic structure, refer to that section first.
I will touch on a few things about classes and their design, which we discuss in detail later in this book. As always in the dan chapters, the focus ...
Read now
Unlock full access