Martin Moene
Martin Moene
Up to now, I've not been doing [mockist testing](http://martinfowler.com/articles/mocksArentStubs.html#ClassicalAndMockistTesting) and I don't think it's likeky I'll add support for mocks to [_lest_](/martinmoene/lest) itself. However, perhaps someone likes to [contribute it...
Thanks for the pointer to [cpputest](http://cpputest.github.com/) b.t.w.. It's always good to look at others' approaches.
Interesting subject, which I haven't given any thought yet in relation to _lest_. Your last example starts looking a bit like [bandit](https://github.com/banditcpp/bandit) ;)
Hi Darren, That's a nice angle to provide more context to [lest](https://github.com/martinmoene/lest). To answer some of it now/here: It started as a personal exercise with C++11 lambda-based tests when I...
...and defeats the [expression decomposition](https://github.com/martinmoene/lest#assertion-macros)... See also: - DGtal - [Fix parentheses warning with Catch PR1067](https://github.com/DGtal-team/DGtal/pull/1067) - Catch - [ Disable -Wparentheses warnings for g++ < 4.8 PR528](https://github.com/philsquared/Catch/pull/528) - Catch...
As an aside: For some time `lest` does contain: ``` #ifdef __clang__ ... # pragma clang diagnostic ignored "-Woverloaded-shift-op-parentheses" ... ```
Keeping this open to remind myself about this ongoing discussion with Catch.
A kind offer, in which I'm certainly interested (although I might not be entirely ready for it). I Just created branch lest-v2 for it.
I like to keep it at C++11.