Skip to content

Commit

Permalink
Merge pull request #333 from tpetrucciani/fix-categories-docs
Browse files Browse the repository at this point in the history
Fix include/exclude categories arguments in docs
  • Loading branch information
olafurpg authored Mar 23, 2021
2 parents 9decd5d + e4e802b commit fbf9354
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,15 @@ class MyFastSuite extends munit.FunSuite {
}
```

Next, use `--include-category=$CATEGORY` and `--exclude-category=$CATEGORY` to
Next, use `--include-categories=$CATEGORY` and `--exclude-categories=$CATEGORY` to
determine what test suites to run from the command line.

```sh
# matches: MySlowSuite, MySlowFastSuite
> testOnly -- --include-category=myapp.Slow
> testOnly -- --include-categories=myapp.Slow

# matches: MySlowSuite
> testOnly -- --include-category=myapp.Slow --exclude-category=myapp.Fast
> testOnly -- --include-categories=myapp.Slow --exclude-categories=myapp.Fast
```

## Filter tests cases based on a dynamic conditions
Expand Down

0 comments on commit fbf9354

Please sign in to comment.