Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Aug 29, 2025

Summary

Use the Rstest projects to run multiple test projects together instead of run tests independently in sub-packages.

https://rstest.rs/config/test/projects

Related Links

#1090

Checklist

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

@Copilot Copilot AI review requested due to automatic review settings August 29, 2025 11:11
Copy link
Contributor

Copilot AI left a 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 the Rstest configuration to use the new projects feature instead of running tests independently in sub-packages. The main changes restructure the test configuration to leverage Rstest's workspace projects functionality for better test organization.

  • Replaces the workspace-based configuration with a new projects-based approach using Rstest's projects feature
  • Updates all package references from rstest.workspace to rstest.config
  • Upgrades @rstest/core from version 0.3.0 to 0.3.1 across all templates and fragments

Reviewed Changes

Copilot reviewed 26 out of 27 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
rstest.config.ts New main configuration file implementing projects-based test setup
rstest.workspace.ts Removed old workspace configuration file
tests/rstest.config.ts Updated import path to use new config structure
packages/*/rstest.config.ts Updated import paths in package-level configurations
package.json files Upgraded @rstest/core version and updated test scripts to use project-specific commands
packages/core/tests/config.test.ts Added root configuration for proper project context
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@netlify
Copy link

netlify bot commented Aug 29, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 79c4024
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/68b18af5bfa44b0008d2f383
😎 Deploy Preview https://deploy-preview-1201--rslib.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.

@9aoy 9aoy requested a review from Timeless0911 August 29, 2025 11:21
@Timeless0911 Timeless0911 changed the title test: use rstest projects test: use Rstest projects Sep 1, 2025
@Timeless0911 Timeless0911 enabled auto-merge (squash) September 1, 2025 04:04
@Timeless0911 Timeless0911 merged commit 60ada00 into main Sep 1, 2025
16 checks passed
@Timeless0911 Timeless0911 deleted the rstest-projects branch September 1, 2025 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants