Closed onqtam closed 2 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.
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.
It's the first thing I'll work on for the 2.3. The 2.2 will be released this month.
Added in #275.
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