Remove support for test case descriptions

Closes #1189
This commit is contained in:
Martin Hořeňovský
2019-06-22 20:11:14 +02:00
parent be44cfa63b
commit 2bcf1b3db6
7 changed files with 7 additions and 31 deletions

View File

@@ -11,16 +11,6 @@ at least the next major release.
## Deprecations
### Secondary description amongst tags
Currently, the tags part of `TEST_CASE` (and others) macro can also
contain text that is not part of tags. This text is then separated into
a "description" of the test case, but the description is then never used
apart from writing it out for `--list-tests -v high`.
Because it isn't actually used nor documented, and brings complications
to Catch2's internals, description support will be removed.
### SourceLineInfo::empty()
There should be no reason to ever have an empty `SourceLineInfo`, so the

View File

@@ -40,6 +40,8 @@
* `--list*` commands are now piped through the reporters
* The top-level reporter interface provides default implementation that works just as the old one
* XmlReporter outputs a machine-parseable XML
* `TEST_CASE` description support has been removed
* If the second argument has text outside tags, the text will be ignored.
### Fixes
* The `INFO` macro no longer contains superfluous semicolon (#1456)