vitest icon indicating copy to clipboard operation
vitest copied to clipboard

feat(config): add `shuffle.files` and `shuffle.tests` options

Open fenghan34 opened this issue 1 year ago • 1 comments

Description

  • Add shuffle.files and shuffle.tests options, allowing users to shuffle tests while leveraging cache to run long-running tests earlier.
  • Closes #3568

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • [x] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • [x] Ideally, include a test that fails without this PR but passes with it.
  • [x] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • [x] Run the tests with pnpm test:ci.

Documentation

  • [x] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • [x] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

fenghan34 avatar Feb 23 '24 10:02 fenghan34

Deploy Preview for fastidious-cascaron-4ded94 ready!

Name Link
Latest commit 88f2cf0931a357beb07fef6892b9cd40778884ee
Latest deploy log https://app.netlify.com/sites/fastidious-cascaron-4ded94/deploys/65dc8f2e6cec2a0007fae37b
Deploy Preview https://deploy-preview-5281--fastidious-cascaron-4ded94.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 23 '24 10:02 netlify[bot]