CMake/Tests/RunCMake/GoogleTest
Matthew Woehlke bfcda4013a Add dynamic test discovery for for Google Test
Add a new gtest_discover_tests function to GoogleTest.cmake,
implementing dynamic test discovery (i.e. tests are discovered by
actually running the test executable and asking for the list of
available tests, which is used to dynamically declare the tests) rather
than the source-parsing approach used by gtest_add_tests. Compared to
the source-parsing approach, this has the advantage of being robust
against users declaring tests in unusual ways, and much better support
for advanced features such as parameterized tests.

A unit test, modeled after the TEST_INCLUDE_DIR[S] test, is also
included. Note that the unit test does not actually require that Google
Test is available. The new functionality does not actually depend on
Google Test as such; it only requires that the test executable lists
tests in the expected format when invoked with --gtest_list_tests, which
the unit test can fake readily.
2017-07-27 09:47:28 -04:00
..
CMakeLists.txt Add dynamic test discovery for for Google Test 2017-07-27 09:47:28 -04:00
fake_gtest.cpp Add dynamic test discovery for for Google Test 2017-07-27 09:47:28 -04:00
GoogleTest-test-stdout.txt Add dynamic test discovery for for Google Test 2017-07-27 09:47:28 -04:00
GoogleTest.cmake Add dynamic test discovery for for Google Test 2017-07-27 09:47:28 -04:00
RunCMakeTest.cmake Add dynamic test discovery for for Google Test 2017-07-27 09:47:28 -04:00