-
-
Notifications
You must be signed in to change notification settings - Fork 746
test: run webpack watch cases with test tools #11821
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
Conversation
✅ Deploy Preview for rspack canceled.
|
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 migrates webpack watch test cases to use rspack test tools. The changes adapt webpack test configurations to work with rspack's testing infrastructure and update the test framework to support watch case testing.
- Remove old native watcher and incremental watch test runners for webpack tests
- Add rspack-compatible configuration files for watch test cases with cache settings
- Update test tools to support
ignoreNotFriendlyForIncrementalWarningsconfiguration option
Reviewed Changes
Copilot reviewed 20 out of 385 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
tests/rspack-test/NativeWatcher-webpack.test.js |
Removed old native watcher test runner |
tests/rspack-test/Incremental-watch-webpack.test.js |
Removed old incremental watch test runner |
tests/rspack-test/watchCases/*/webpack.config.js |
Updated cache configurations to use rspack-compatible syntax |
tests/rspack-test/watchCases/*/test.config.js |
Added test configuration files with incremental warning suppression |
packages/rspack-test-tools/src/type.ts |
Added ignoreNotFriendlyForIncrementalWarnings to test configuration type |
packages/rspack-test-tools/src/case/watch.ts |
Updated watch processors to use test config for warning suppression |
packages/rspack-test-tools/src/case/incremental.ts |
Simplified incremental test creator by removing hardcoded options |
packages/rspack-test-tools/src/test/creator.ts |
Added whitespace formatting |
packages/rspack-test-tools/etc/test-tools.api.md |
Updated API documentation with new test config option |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
📦 Binary Size-limit
❌ Size increased by 4.63KB from 47.89MB to 47.89MB (⬆️0.01%) |
CodSpeed Performance ReportMerging #11821 will not alter performanceComparing Summary
|
Summary
Run webpack watch cases with rspack test tools. This is part of migrating webpack test cases to rspack
Related links
Checklist