Cleanup gmock Test Dependencies#460
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #460 +/- ##
==========================================
+ Coverage 85.25% 85.33% +0.08%
==========================================
Files 17 17
Lines 1397 1398 +1
Branches 132 132
==========================================
+ Hits 1191 1193 +2
+ Misses 120 119 -1
Partials 86 86
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
we use gmock per default in all our repositories. I haven't compared it, but the argument of @bmagyar is that the failure messages are more descriptive. |
Interesting... for my own education, what would be an example of this case? My understanding is unless we're making calls to |
|
maybe this was only a decision for simplicity to have the same all over the place, and use gmock matchers where they make sense like |
|
From my experience so far, the issue with defaulting to
I think developers can always include |
|
Thanks for highlighting the fact that there are features from gtest that are not available when one includes the gmock headers. We've been using gmock across the board in our projects as we tend to rely on matchers. That being said, I'd also prefer we stay one step closer to the advanced matcher functionality than typed tests, even though some of our testing don't use either of those 🤷 |
|
This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete. |
|
This pull request is in conflict. Could you fix it @bjin2364? |
|
This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete. |
Changes
gmocktest deps, when none of the unit tests are usinggmock. This PR updates the dependencies so they'regtestTesting
Notes