-
-
Notifications
You must be signed in to change notification settings - Fork 59
docs: add Rstest guide
#1419
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
docs: add Rstest guide
#1419
Conversation
✅ Deploy Preview for rslib ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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 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-rslibto 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.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Summary
add
Rstestguide.https://rstest.rs/
Related Links
Checklist