I'm using visual studio 2017 on Windows 10. I created a new google test project to test another project of mine. #include "gtest/gtest.h"
does not give compile errors, but #include "gmock/gmock.h"
does! Looking inside of the external dependencies folder I see that gtest.h is there, but not gmock.h. So when I do try including mock, the compiler gives me this error: "Cannot open included file: 'gmock/gmock.h': No such file or directory". When I go into Tools -> Extensions and Updates, I see that Test Adapter for Google Test has version: 0.10.1.7 and its release notes say it supports Google Test V1.8.0 which has google mock according to https://github.com/google/googletest/releases.
Why is gmock.h not there? Do I need to update the "Test Adapter for Google Test" or Google Test itself? Is it because I may have a lower version of google test? I'm not even sure how to find the version of Google Test that I have; it doesn't say.
Should I not use the Test Adapter and instead try configuring the latest release of googletest myself into visual studio 2017?
what's the best way to get gmock working with my setup?