Ruben Anders
fd21e242d5
Fix Google Test example
2024-03-25 23:02:53 +00:00
Henry Schreiner
43b34728e1
style: run pre-commit
2022-06-02 14:30:14 -04:00
Dimitris Apostolou
b56e7da7ba
Fix typos
2022-02-17 17:58:18 +02:00
Henry Schreiner
f3d65bdc26
chore: bump catch to 2.13.6
2021-06-24 12:06:36 -04:00
RevRagnarok
60abad8f68
Misc touch-ups
2020-06-09 14:59:07 +00:00
Stuart Schechter
0347de327f
I lost over a day trying to figure out why I couldn't set a working directory for tests. It turns out, you can't (at least for Visual Studio projects) if you used gtest_add_tests, but it works just fine using the more up to date gtest_discover_tests. This PR is written to facilitate two very common needs of testers: access to a working directory and the ability to include libraries (since, tests are often written to tests libraries.)
...
Changes:
Replace gtest_add_tests, which is outdated and causes problems (especially in Windows & visual studio) with gtest_discover_tests.
Modified macros to show how working directories are set
Add example that sets working directory and uses custom libraries.
Add include(GoogleTest), which seems to be necessary on some platforms
2019-09-26 23:17:15 +00:00
Kavi Jivan
f4b59a146b
Add missing "NAME" keyword for parameter to add_test
2019-02-01 04:07:26 +00:00
Henry Schreiner
a118022724
Testingupdates
2018-12-05 18:21:01 +00:00
Henry Fredrick Schreiner
9e4822b373
Adding fetch information
2018-03-30 15:39:25 +02:00
Henry Fredrick Schreiner
f09ca2ca8b
Adding catch and some fixes
2018-03-30 15:15:37 +02:00
Henry Fredrick Schreiner
6aaaef8208
Reordering and moving things around
2018-03-29 19:30:00 +02:00