diff options
author | Asim Shankar <ashankar@google.com> | 2016-09-15 09:57:18 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-09-15 11:03:39 -0700 |
commit | a8bd2dea81d90338290288dad11defa154d73a43 (patch) | |
tree | ed52bf123c4918d7c3589553386690438bf70f9f /tensorflow/core/platform/test.h | |
parent | 5f2e7de76aa672551a53accc414f164cd7fe9e07 (diff) |
Document the intention to avoid gmock for now.
Change: 133281431
Diffstat (limited to 'tensorflow/core/platform/test.h')
-rw-r--r-- | tensorflow/core/platform/test.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/core/platform/test.h b/tensorflow/core/platform/test.h index 14200942ca..0046b6c3f1 100644 --- a/tensorflow/core/platform/test.h +++ b/tensorflow/core/platform/test.h @@ -23,6 +23,11 @@ limitations under the License. #include "tensorflow/core/platform/platform.h" #include "tensorflow/core/platform/types.h" +// As of September 2016, we continue to attempt to avoid the use of gmock aka +// googlemock included in the test framework +// (https://github.com/google/googletest) to discourage over-eager use of mocks +// that lead to cumbersome class hierarchies and tests that might end up not +// testing real code in important ways. #if defined(PLATFORM_GOOGLE) || defined(PLATFORM_GOOGLE_ANDROID) #include "tensorflow/core/platform/google/build_config/gunit.h" #else |