eranpeer / FakeIt

C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
MIT License
1.25k stars 175 forks source link

add integration with the Mettle unit test framework #86

Closed 12AT7 closed 7 years ago

12AT7 commented 7 years ago

Mettle is another nice unit test framework written by @jimporter. This commit adds a FakeIt configuration for Mettle alongside all the other supported unit test frameworks. The commit is basically just a copy of the standalone configuration for FakeIt, with the standalone exception types replaced with mettle::expectation_error.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.974% when pulling 37df12d3bc6c0095102800bf3dc1ad28200b7181 on JohnGalbraith:config_mettle into 2eb812b7ef7e72cb2e0ed2e1283b8bcc858fc555 on eranpeer:master.

eranpeer commented 7 years ago

Thanks, your contribution is very appreciated. I will update the Installation section to include Mettle.

12AT7 commented 7 years ago

Cool. Maybe we can get at least one other Mettle user (perhaps Jim Porter) to try it out. I would have put him on the reviewers list, but I don't think I have permission for that on a cross-fork pull request.

jimporter commented 7 years ago

Hopefully this week I'll try this out and write some docs for mettle about how to do this. A few people have asked before about mocking with mettle, so this will be nice to point people to. Thanks for the patch!

eranpeer commented 7 years ago

Cool, I updated the Readme and added a link to Mettle.

On Mar 27, 2017 8:08 PM, "Jim Porter" notifications@github.com wrote:

Hopefully this week I'll try this out and write some docs for mettle about how to do this. A few people have asked before about mocking with mettle, so this will be nice to point people to. Thanks for the patch!

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/eranpeer/FakeIt/pull/86#issuecomment-289350893, or mute the thread https://github.com/notifications/unsubscribe-auth/ACc8ghcCZ9ZeMr-BDRODq7UUCfO04jhhks5rpzmegaJpZM4MpjlD .