Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 507 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 507 Bytes

Defining a unit test and linking against Google Test

In this recipe, we demonstrate how to implement unit testing using the Google Test framework, with the help of CMake.

We will use FetchContent to download a well-defined version of the Google Test sources at configure time, and then build the framework and link against it.