google-cloud-cpp icon indicating copy to clipboard operation
google-cloud-cpp copied to clipboard

Add code sample using generated mocks

Open scotthart opened this issue 2 years ago • 3 comments

Currently compute mocks are not used in any build or test, adding a sample would correct that and increase the breadth of documentation for the library.

scotthart avatar Sep 21 '23 16:09 scotthart

It is more general than compute. We generate mocks for all classes and never test that this code compiles (or show how to use it).

coryan avatar Sep 21 '23 16:09 coryan

Update guides on how to mock any library, including those with generated mocks.

scotthart avatar Mar 13 '24 19:03 scotthart

We're still interested in improving this.

scotthart avatar Sep 19 '24 18:09 scotthart