playwright/packages/playwright-ct-core
Simon Knott f23d02a211
feat(test runner): --only-changed option (#31727)
Introduces an `--only-changed [base ref]` option.

`playwright test --only-changed` filters the test run to only run test
suites that have uncommitted changes.
`playwright test --only-changed=foo` runs only tests that were changed
since commit `foo`.

In pull request CI, this can be used to run changed tests first and fail
fast: `--only-changed=$GITHUB_BASE_REF`.
During local development, it can be used to quickly filter down to the
touched set of tests suites.
In some rare usecases, this can also help to cut down on CI usage for
pull requests. Tread with caution though.

File dependencies are taken into account to ensure that if you touched a
utility file, all relevant tests are still executed.

Closes https://github.com/microsoft/playwright/issues/15075
2024-07-23 18:04:17 +02:00
..
src feat(test runner): --only-changed option (#31727) 2024-07-23 18:04:17 +02:00
types feat(ct): resolve hooksConfig import refs (#31024) 2024-05-28 12:29:52 -07:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
.npmignore chore: pass the private data to the runner via config (#29467) 2024-02-13 09:34:03 -08:00
index.d.ts chore: rename route fixture in ct (#31817) 2024-07-23 07:43:28 -07:00
index.js chore: move dev server to config-based framework extensibility (#30234) 2024-04-05 08:39:51 -07:00
package.json chore: mark v1.46.0-next (#31324) 2024-06-14 18:22:42 -07:00
README.md chore: introduce ct-core to hard-depend on vite (#22437) 2023-04-17 16:19:21 -07:00

BEWARE This package is EXPERIMENTAL and does not respect semver.

Read more at https://playwright.dev/docs/test-components