Phil Nash

Results 50 comments of Phil Nash

Unfortunately that's not how it is supposed to work. Calls to `describe()` should be independent of any calls to `match()`. That caching string is an internal implementation detail (to avoid...

Further to @jfemia: https://github.com/philsquared/Catch/blob/develop/docs/own-main.md

Yes, if you need clean-up within a test case you should use some form of RAII (whether that's with a unique_ptr, scope_guard, or some class of your own design).

+1 for "RAII is the only guaranteed solution". The fact is, in the five or so years I've been developing Catch, and using it in several projects - including a...

This sounds like a great candidate for [Listeners](https://github.com/catchorg/Catch2/blob/master/docs/event-listeners.md)!

Hi, Thanks for trying this out. Unfortunately I only ever got as far as implementing enough to support my talk on the subject and it still has many rough edges,...

Hey, remember me? :-) I still get notifications for these issues bubble up to me sometimes. In this case, since it was me that added `-i` originally I thought I'd...

It's an interesting problem. You can probably get what you want with: ```c++ TEST_CASE(){ auto f = CreateFile(/* ... */); INFO( GetLastError() ); REQUIRE(f != INVALID_HANDLE_VALUE); } ``` The only...

Feel free to close #1209. Sorry for not responding before. You got lucky with me paying attention today ;-) Regarding the inline expression check being better - I don't disagree....

It's a little extra boilerplate the first time. I'm guessing you'll use the same error "type" (e.g., set of semantic values) more than once - in which case it will...