GoogleTest: Expand capabilities of gtest_add_tests()

Now has keyword-based arguments (old syntax form is still supported).
Discovered tests can have a prefix and/or suffix added to the test names
and the list of discovered tests is available to the caller. The working
dir can also be set and the dependency on the source files is now
optional instead of mandatory.
This commit is contained in:
Craig Scott
2017-05-14 20:16:27 +10:00
parent 836cb52e9a
commit 6edd1806dd
11 changed files with 302 additions and 27 deletions

View File

@@ -2,4 +2,8 @@ ExtractGTestMacro
-----------------
* A new :module:`GoogleTest` module was added to provide the
``gtest_add_tests`` macro independently of the :module:`FindGTest` module.
:command:`gtest_add_tests` function independently of the :module:`FindGTest`
module. The function was also updated to support keyword arguments, with
functionality expanded to allow a test name prefix and suffix to be
specified, the dependency on the source files to be optional and the list of
discovered test cases to be returned to the caller.