Skip to content

Conversation

@claneo
Copy link
Contributor

@claneo claneo commented Nov 11, 2025

Summary

  1. config.ts
    1. define config schema and default value using valibot (or zod?)
    2. replace inspect with get, which already picked value by priority
    3. add a new function watchConfigValue
  2. launch.json: change preLaunchTask from build to watch
  3. worker/index.ts: pass configFilePath to rstest core, rename cwd to root
  4. extension.ts
    1. removed document event handlers, which seem unnessary
    2. handle and process all workspaces
  5. master.ts: using config file path as cwd when resolve and spawn worker
  6. project.ts/WorkspaceManager: scan and watch all rstest config files matching glob inside this workspace
  7. porject.ts/Project
    1. set config file's parent director as root directory
    2. scan and watch all test files matching glob inside root drector
    3. spawn worker
  8. testTree.ts run test with corresponding worker

It scans all rstest config files across all workspaces, and create separate worker for each project.

Related Links

Checklist

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

@netlify
Copy link

netlify bot commented Nov 11, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 815f5e6
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/6916f96b5cd6ff0008c61709
😎 Deploy Preview https://deploy-preview-688--rstest-dev.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 project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant