Skip to content

docs: add Rstest guide#1419

Merged
Timeless0911 merged 6 commits intomainfrom
rstest-guide
Dec 30, 2025
Merged

docs: add Rstest guide#1419
Timeless0911 merged 6 commits intomainfrom
rstest-guide

Conversation

@9aoy
Copy link
Copy Markdown
Contributor

@9aoy 9aoy commented Dec 30, 2025

Summary

add Rstest guide.

https://rstest.rs/

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings December 30, 2025 08:24
@netlify
Copy link
Copy Markdown

netlify bot commented Dec 30, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit ba76fa4
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/69539970841e2e0008f56e6d
😎 Deploy Preview https://deploy-preview-1419--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.

Copy link
Copy Markdown
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 adds comprehensive documentation for integrating Rstest (a testing framework based on Rspack) with Rslib projects. The documentation is provided in both English and Chinese, covering setup instructions for new and existing projects, configuration options, and how to reuse Rslib configuration in tests.

Key Changes

  • Added Rstest integration guide with quick start instructions for both new and existing projects
  • Documented configuration options for Rstest including test file patterns and environment setup
  • Explained how to use @rstest/adapter-rslib to reuse Rslib configuration in tests

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
website/docs/en/guide/advanced/rstest.mdx English documentation for using Rstest with Rslib, including installation, configuration, and usage examples
website/docs/zh/guide/advanced/rstest.mdx Chinese translation of the Rstest guide documentation
website/docs/en/guide/advanced/_meta.json Updated navigation metadata to include the new "rstest" entry
website/docs/zh/guide/advanced/_meta.json Updated Chinese navigation metadata to include the new "rstest" entry

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

9aoy and others added 3 commits December 30, 2025 16:32
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Timeless0911 Timeless0911 enabled auto-merge (squash) December 30, 2025 09:23
@Timeless0911 Timeless0911 merged commit 7ee230c into main Dec 30, 2025
16 checks passed
@Timeless0911 Timeless0911 deleted the rstest-guide branch December 30, 2025 09:29
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.

3 participants