Skip to content

Commit a6481fa

Browse files
committed
update(cypress cookbook): add "Run a subset of tests"
1 parent c755a7d commit a6481fa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docusaurus/docs/cypress/cookbook.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,12 @@ You should replace `$MY_CI_BUILD_ID` with the correct environment variable provi
6666
| Semaphore 2.0 | `SEMAPHORE_WORKFLOW_ID` |
6767
| Travis | `TRAVIS_BUILD_ID` |
6868
| Codefresh.io | `CF_BUILD_ID` |
69+
70+
## Run a subset of tests
71+
72+
To run a subset of your test suite you have a couple of options:
73+
74+
- `KNAPSACK_PRO_TEST_FILE_*` environment variables:
75+
- [`KNAPSACK_PRO_TEST_FILE_PATTERN`](reference.md#knapsack_pro_test_file_pattern)
76+
- [`KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN`](reference.md#knapsack_pro_test_file_exclude_pattern)
77+
- [`KNAPSACK_PRO_TEST_FILE_LIST_SOURCE_FILE`](reference.md#knapsack_pro_test_file_list_source_file)

0 commit comments

Comments
 (0)