googletest/googlemock/g3doc/includes/g3_BUILD_rule.md
2021-01-13 20:58:40 -05:00

18 lines
291 B
Markdown

## BUILD Rule
Add *one* of the following to your `deps`:
```build
"//testing/base/public:gunit",
"//testing/base/public:gtest_main",
```
Add this to your `.cc` file:
```cpp
#include "gmock/gmock.h"
```
Unless noted, *all functions and classes* are defined in the `::testing`
namespace.