diff options
| author | Martin Hořeňovský | 2019-06-22 20:26:03 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-10-29 14:07:18 +0100 |
| commit | 4f47d1c6c1bf21e047fc4dd8a946740a2da2f673 (patch) | |
| tree | 3a82692b0821ab44cf69f54f40d5e0aaa7731cb9 /docs/release-notes.md | |
| parent | 2bcf1b3db6e1a61328f1efe093d749ef40e0bbd6 (diff) | |
| download | catch3-4f47d1c6c1bf21e047fc4dd8a946740a2da2f673.tar.gz | |
Hidden tests now require positive filter match to be selected
This also required some refactoring of how the pattern matching
works. This means that the concepts of include and exclude patterns
are no longer unified, with exclusion patterns working as just
negation of an inclusion patterns (which led to including hidden
tags by default, as they did not match the exclusion), but rather
both include and exclude patterns are handled separately.
The new logic is that given a filter and a test case, the test
case must match _all_ include patterns and _no_ exclude patterns
to be included by the filter. Furthermore, if the test case is
hidden, then the filter must have at least one include pattern
for the test case to be used.
Closes #1184
Diffstat (limited to 'docs/release-notes.md')
| -rw-r--r-- | docs/release-notes.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md index 8be1bbd5..4d0527a0 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -42,6 +42,10 @@ * 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. +* Hidden test cases are no longer included just because they don't match an exclusion tag + * Previously, a `TEST_CASE("A", "[.foo]")` would be included by asking for `~[bar]`. + + ### Fixes * The `INFO` macro no longer contains superfluous semicolon (#1456) |