Googletest Samples
- Sample #1 shows the basic steps of using googletest to test C++ functions.
- Sample #2 shows a more complex unit test for a class with multiple member functions.
- Sample #4 teaches you how to use googletest and together to get the best of both libraries.
- Sample #5 puts shared testing logic in a base test fixture, and reuses it in derived fixtures.
- Sample #7 teaches the basics of value-parameterized tests.
- Sample #8 shows using
Combine()
in value-parameterized tests. - Sample #10 shows use of the listener API to implement a primitive memory leak checker.