Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_context.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-06-22 20:26:03 +0200
committerMartin Hořeňovský2019-10-29 14:07:18 +0100
commit4f47d1c6c1bf21e047fc4dd8a946740a2da2f673 (patch)
tree3a82692b0821ab44cf69f54f40d5e0aaa7731cb9 /src/catch2/catch_context.cpp
parent2bcf1b3db6e1a61328f1efe093d749ef40e0bbd6 (diff)
downloadcatch3-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 'src/catch2/catch_context.cpp')
0 files changed, 0 insertions, 0 deletions