Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 2bd27ee

Browse files
committed
Merge pull request #1618 from maxlinc/patch-1
Document tag name:value pair limitation.
2 parents b648cdb + 67313b8 commit 2bd27ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

features/command_line/tag.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Feature: `--tag` option
77
with `:name => value` will be filtered, where `value` is always a string. In
88
both cases, `name` is converted to a symbol.
99

10+
Filters are represented internally as a hash, which means that you can't
11+
specify multiple filters for the same key. If you try to exclude `:name => 'foo'`
12+
and `:name => 'bar'`, you will only end up excluding `:name => 'bar'`.
13+
1014
Tags can also be used to exclude examples by adding a `~` before the tag. For
1115
example `~tag` will exclude all examples marked with `:tag => true` and
1216
`~tag:value` will exclude all examples marked with `:tag => value`.

0 commit comments

Comments
 (0)