eranpeer / FakeIt

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

support for the doctest testing framework #164

Closed onqtam closed 2 years ago

onqtam commented 5 years ago

regarding this Catch-like testing framework: https://github.com/onqtam/doctest

trompeloeil already has support for it: https://github.com/rollbear/trompeloeil/blob/master/docs/CookBook.md#adapt_doctest

LossMentality commented 5 years ago

+1 for this! (And hi @onqtam)

I'm just in the process of evaluating both doctest and fakeit and would love to see tighter integration between the two.

If I get a chance, I might try to roll my own, in which case I'd be happy to make a pull request for whatever I came up with, but I'm not sure I'm going to have the time in the near future as I'm not familiar with the internals of either fakeit or doctest.

Di3mex commented 2 years ago

What is the status on this? I am exploring different Mocking/Stubbing/Faking libraries and FakeIt has a nice syntax. The standalone header errors out with an unknown error when run from doctest.

FranckRJ commented 2 years ago

It's the first thing I'll work on for the 2.3. The 2.2 will be released this month.

FranckRJ commented 2 years ago

Added in #275.