mirror of
https://github.com/catchorg/Catch2.git
synced 2025-02-17 03:43:29 +01:00
Added tags docs
This commit is contained in:
parent
b5b1b1e430
commit
20e59ce9d1
@ -282,7 +282,14 @@ namespace Catch {
|
|||||||
// subsequently wrapped lines
|
// subsequently wrapped lines
|
||||||
virtual std::string optionDescription() const {
|
virtual std::string optionDescription() const {
|
||||||
return
|
return
|
||||||
"!TBD";
|
"This option allows one or more tags or tag patterns to be specified.\n"
|
||||||
|
"Each tag is enclosed in square brackets. A series of tags form an AND expression "
|
||||||
|
"wheras a comma seperated sequence forms an OR expression. e.g.:\n\n"
|
||||||
|
" -g [one][two],[three]\n\n"
|
||||||
|
"This matches all tests tagged [one] and [two], as well as all tests tagged [three].\n\n"
|
||||||
|
"Tags can be negated with the ~ character. This removes matching tests from the set. e.g.:\n\n"
|
||||||
|
" -g [one]~[two]\n\n"
|
||||||
|
"matches all tests tagged [one], except those also tagged [two]";
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void parseIntoConfig( const Command& cmd, ConfigData& config ) {
|
virtual void parseIntoConfig( const Command& cmd, ConfigData& config ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user