Files
boringssl-antelopeio/third_party/googletest/docs/index.md
T
David Benjamin fa343af32b Update googletest and include googlemock
Some tests in the Chromium verifier use gmock. Since upstream googletest
considers them a single project now, just import both of them.

Update-Note: As part of this, I've made gtest_main.cc now initializes
gmock alongside gtest. This means BoringSSL's test targets now depend on
both. Downstream builds where googletest and googlemock are separate
build targets may need to add a dependency. (Though every downstream
test I looked at treats them as one target, so this is most likely a
no-op.)

Bug: chromium:1322914
Change-Id: Ief38c675bc13a4639dee061d058580967ab99d41
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/62945
Commit-Queue: Bob Beck <bbe@google.com>
Reviewed-by: Bob Beck <bbe@google.com>
2023-09-05 21:11:19 +00:00

1.0 KiB

GoogleTest User's Guide

Welcome to GoogleTest!

GoogleTest is Google's C++ testing and mocking framework. This user's guide has the following contents:

  • GoogleTest Primer - Teaches you how to write simple tests using GoogleTest. Read this first if you are new to GoogleTest.
  • GoogleTest Advanced - Read this when you've finished the Primer and want to utilize GoogleTest to its full potential.
  • GoogleTest Samples - Describes some GoogleTest samples.
  • GoogleTest FAQ - Have a question? Want some tips? Check here first.
  • Mocking for Dummies - Teaches you how to create mock objects and use them in tests.
  • Mocking Cookbook - Includes tips and approaches to common mocking use cases.
  • Mocking Cheat Sheet - A handy reference for matchers, actions, invariants, and more.
  • Mocking FAQ - Contains answers to some mocking-specific questions.