Skip to content

Glossary: C++ Beyond the Basics

Unit test

Also written: unit tests

A small automatic check that calls one piece of your code with known input and verifies the result.

Where the book teaches it

Related terms

GoogleTestAssertionctest