Skip to content

Commit

Permalink
chore: document glob pattern for filtering test files (#8022)
Browse files Browse the repository at this point in the history
  • Loading branch information
sissbruecker authored Oct 25, 2024
1 parent 6bb60f4 commit 2432a7b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,18 @@ Debug tests for single package:
yarn debug --group combo-box
```

Run or debug specific test files filtered by a glob pattern:

```sh
yarn test --group combo-box --glob="data-provider*" # all data provider tests
yarn test --group combo-box --glob="*polymer.test.js" # all polymer tests
yarn test --group combo-box --glob="*lit.test.js" # all lit tests

yarn debug --group combo-box --glob="data-provider*" # all data provider tests
yarn debug --group combo-box --glob="*polymer.test.js" # all polymer tests
yarn debug --group combo-box --glob="*lit.test.js" # all lit tests
```

Run tests with code coverage:

```sh
Expand Down

0 comments on commit 2432a7b

Please sign in to comment.