Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Aug 13, 2025

Summary

Add Rstest to Rslib's template.

image

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings August 13, 2025 09:46
@netlify
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 86260de
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/689c60457cebf300087867bb
😎 Deploy Preview https://deploy-preview-1166--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
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 Rstest as a testing framework option to Rslib's template generation system, providing an alternative to Vitest for developers who prefer Rstest.

  • Added Rstest as a selectable development tool alongside existing Vitest and Storybook options
  • Created comprehensive template files for all framework combinations (React, Vue, Node ESM, Node Dual) with both JavaScript and TypeScript variants
  • Updated the template selection logic to prevent selecting both Rstest and Vitest simultaneously

Reviewed Changes

Copilot reviewed 135 out of 141 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
website/docs/ Updated documentation to include Rstest in development tools lists
packages/create-rslib/test/index.test.ts Added test cases for new Rstest template combinations
packages/create-rslib/template-* Added complete template directories for all Rstest variants across frameworks
packages/create-rslib/src/ Modified template selection logic and composition to support Rstest
packages/create-rslib/fragments/tools/rstest-* Added Rstest configuration fragments for different framework types

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@Timeless0911 Timeless0911 merged commit 8d54f89 into main Aug 15, 2025
14 checks passed
@Timeless0911 Timeless0911 deleted the rstest-template branch August 15, 2025 04:19
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.

4 participants