Björn Fahller

Results 208 comments of Björn Fahller

Just tagged release v48 which includes this.

Yes, there are land mines here. What if a violation occurs in a function that returns something that the framework cannot create? There simply is no way to continue.

I admit that I haven't thought very much about this, because I think that when a test fails, you really don't want to continue running because nothing valuable will come...

This is a known problem. Unfortunately I am not sure that it is possible to solve. When the mismatch happens, it throws an exception. That exception causes the expectation object...

You need to make the A member accessible in the test so that you can place an expectation on it. One traditional technique for this is dependency injection, i.e. you...

Well, the library can only work within the rules of the language. For this to work you need: 1. To ensure that in the test, the member m_pObj points to...

Please have a look at branch [fix_322](https://github.com/rollbear/trompeloeil/tree/fix_322) to ensure that the issue has indeed been solved there.

I've merged this to main now. Leaving it open until a release has been tagged.