Replies: 4 comments 2 replies
-
Organization of testsGreat advantage of Catch2 is that is allows for arbitrary titles of sections. I think I figured out why you could not get the reporter to behave nicely. It turns out that Catch2 uses quite peculiar way of organization of tests: it does not follow the CW's-favorite |
Beta Was this translation helpful? Give feedback.
-
Assertion messagesIt seems that Catch2 does not support assertion messages inside of its There is a feature request in Catch2's repository to provide such messages: catchorg/Catch2#2653 but it was already shot down once (catchorg/Catch2#929). |
Beta Was this translation helpful? Give feedback.
-
ReporterThe reporter is notoriously difficult to get to work for a couple of reasons:
Still need to evaluate:
|
Beta Was this translation helpful? Give feedback.
-
BuildCatch2, as opposed to header-only libraries like for example Snowhouse, is a library which needs to be linked with tests:
Locally i work with the amalgamated setup embedded in my local project, but I do not know which of three above options will be the best for CW runner. I expect prebuilding the library would save some time for user solutions. |
Beta Was this translation helpful? Give feedback.
-
I managed to install Catch2 locally (the amalgamated version) and run the example test suite. I will use this discussion as an area to dump potentially interesting facts I managed to figure out. I think that format of a discussion and its functionality of threads will help with maintaining the order.
Beta Was this translation helpful? Give feedback.
All reactions