Skip to content

Glossary: C++ Beyond the Basics

enable_testing

Also written: gtest_discover_tests

CMake commands for tests: `enable_testing()` turns on the test runner, and `gtest_discover_tests` registers each GoogleTest test with it.

Where the book teaches it

Related terms

ctestGoogleTest