-
-
Notifications
You must be signed in to change notification settings - Fork 757
test: hideSkippedTestFiles #12812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: hideSkippedTestFiles #12812
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a configuration option to hide skipped test files in the test output, helping to reduce noise when running tests with filters. The change requires upgrading the @rstest/core testing framework to version ^0.8.0 to support the new feature.
Changes:
- Added
hideSkippedTestFiles: trueconfiguration to the rstest config - Updated
@rstest/coredependency from^0.7.9to^0.8.0
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/rspack-test/rstest.config.ts | Added hideSkippedTestFiles: true to the test configuration to hide skipped test files from output |
| tests/rspack-test/package.json | Updated @rstest/core dependency version from ^0.7.9 to ^0.8.0 |
| package.json | Updated @rstest/core dependency version from ^0.7.9 to ^0.8.0 |
| pnpm-lock.yaml | Updated lockfile with new @rstest/core@0.8.0 resolution and transitive dependency updates (@rsbuild/core: 1.7.1 → 1.7.2) |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 0 projects with changes. 📊 Quick Summary
Generated by Rsdoctor GitHub Action |
📦 Binary Size-limit
🙈 Size remains the same at 48.01MB |
Deploying rspack-v2 with
|
| Latest commit: |
05b467c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ba1613a8.rspack-v2.pages.dev |
| Branch Preview URL: | https://hideskippedtestfiles.rspack-v2.pages.dev |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
* test: hideSkippedTestFiles * test: add more message for chunk-graph assert error * test(rspack-cli): truncateThreshold
* test: hideSkippedTestFiles * test: add more message for chunk-graph assert error * test(rspack-cli): truncateThreshold
* test: hideSkippedTestFiles * test: add more message for chunk-graph assert error * test(rspack-cli): truncateThreshold
Summary
Hide skipped tests logs, it can help to reduce noise in the test output when there are many skipped test files, especially when running tests with filters.
before:

after:

Related links
Checklist