Skip to content

Commit beb9a3a

Browse files
committed
Resolving PR
1 parent 9dee7e0 commit beb9a3a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/userguide/annotations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ Tags must follow the below naming convention:
16341634
- tag cannot start with a dash, e.g. `-some-stuff` is **not** a valid tag
16351635
- tag cannot contain spaces, e.g. `test of batch`. To create a multi-word tag use underscores or dashes, e.g. `test_of_batch`, `test-of-batch`
16361636
- leading and trailing spaces are ignored in tag name, e.g. `--%tags( tag1 , tag2 )` becomes `tag1` and `tag2` tag names
1637-
- tag cannot be one of two reserved words : `none` and `any`, any tags with that will not be considered.
1637+
- tag cannot be one of two reserved words: `none` and `any`. `none` and `any` as a tag will be treated as no tag
16381638

16391639

16401640
### Suitepath

docs/userguide/running-unit-tests.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,13 @@ Multiple tags are separated by comma.
325325

326326
Tag expressions are boolean expressions created by combining tags with the `!`, `&`, `|` operators. Tag expressions can be grouped using `(` and `)` braces. Grouping tag expressions affects operator precedence.
327327

328-
Two special expressions are supported, `any` and `none`, which select all tests with any tags at all, and all tests without any tags, respectively. These special expressions may be combined with other expressions just like normal tags. When using `none` be aware that if the suite is tagged it will exclude any tests and suites below.
328+
Two reserved keywords, `any` and `none`, can be used when creating a tag expression to run tests.
329+
- `any` keyword represents tests and suites with any tags
330+
- `none` keyword represents tests and suites without tags
331+
332+
These keywords may be combined with other expressions just like normal tags.
333+
334+
**Note:** When specifying `none`, be aware that it will exclude any tests/suites/contexts contained within a tagged suite.
329335

330336
| Operator | Meaning |
331337
| -------- | --------|

0 commit comments

Comments
 (0)