Skip to content
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: run watch cases concurrently #9541

Merged
merged 1 commit into from
Mar 4, 2025
Merged

test: run watch cases concurrently #9541

merged 1 commit into from
Mar 4, 2025

Conversation

LingyuCoder
Copy link
Contributor

@LingyuCoder LingyuCoder commented Mar 4, 2025

Summary

Run watch test cases concurrently.

Before:
image
image
image

After:

image
image
image


This pull request introduces concurrent testing capabilities to the rspack-test-tools package. The changes span multiple files and primarily focus on adding support for concurrent test execution, modifying configurations, and handling concurrent tasks.

Concurrent Testing Support:

  • packages/rspack-test-tools/src/test/creator.ts: Added methods and properties to handle concurrent test execution, including createConcurrentEnv, describeConcurrent, registerConcurrentTask, and tryRunTask. Introduced a concurrent option in the IBasicCaseCreatorOptions interface.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Mar 4, 2025
Copy link

netlify bot commented Mar 4, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 089b819
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67c6b56ee1a9c60008cc4163
😎 Deploy Preview https://deploy-preview-9541--rspack.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.

Copy link

codspeed-hq bot commented Mar 4, 2025

CodSpeed Performance Report

Merging #9541 will not alter performance

Comparing test/concurrent (089b819) with main (44f96be)

Summary

✅ 7 untouched benchmarks

@LingyuCoder LingyuCoder changed the title test: run test cases parallel test: run watch cases concurrently Mar 4, 2025
@LingyuCoder LingyuCoder requested a review from SyMind March 4, 2025 08:56
@LingyuCoder LingyuCoder marked this pull request as ready for review March 4, 2025 08:57
@LingyuCoder LingyuCoder merged commit 672a375 into main Mar 4, 2025
37 checks passed
@LingyuCoder LingyuCoder deleted the test/concurrent branch March 4, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants