After a long "developer preview" state Catch turned 1.0 in mid-2013. Just prior to this a large number of changes, some of them breaking, where merged from the integration branch and now form part of the 1.0 code-base. If this might affect you please read this summary through so you know what to expect.
main()
has changed - please review the updated docs-t
option has been repurposed to mean "list tags". There are updated docs for this tooLegacyReporterAdapter
to minimise any differences. Ideally you should update to the new interface - especially as it has been designed to be more robust in the face of future changes (which should be minimal).TEST_CASE
with just a name - or even no name at all (making it an anonymous test case).TEST_CASE
s (but not SECTION
s) can now be tagged by placing keywords in square brackets in the second argument - e.g.: TEST_CASE( "A nice name", "[tag1][tag2]")
. The old style is still supported but please consider using this new style../
prefix as before, but the preferred way now is to give it the [hide]
tag (hidden tests are skipped if you run the test process without specifying any test specs).TEST_CASE
s and SECTION
s you can now also use BDD-style SCENARIO
(in place of TEST_CASE
) and GIVEN
, WHEN
and THEN
macros (in place of SECTION
s).More information can be found in this blog post.
If you find any issues please raise issue tickets on the issue tracker on GitHub as before. For general questions, comments and suggestions, though, please use the new forums on Google Groups.