Skip to content

feat: support --include CLI option to match test files#384

Merged
fi3ework merged 3 commits intomainfrom
cli/include
Jul 14, 2025
Merged

feat: support --include CLI option to match test files#384
fi3ework merged 3 commits intomainfrom
cli/include

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Jul 14, 2025

Summary

  • support--include CLI option to match test files.
  • add test filter chapter

Match test files in the test/a directory:

rstest --include test/a/*.test.ts

Match test files in test/a or test/b directories:

rstest --include test/a/*.test.ts --include test/b/*.test.ts

Related Links

close: #383

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented Jul 14, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit c5b99e2
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/6874b10b1bfa6300090b9126
😎 Deploy Preview https://deploy-preview-384--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.

@9aoy 9aoy requested a review from fi3ework July 14, 2025 07:37
@fi3ework fi3ework merged commit 581ebc0 into main Jul 14, 2025
13 checks passed
@fi3ework fi3ework deleted the cli/include branch July 14, 2025 11:58
@devlato
Copy link
Copy Markdown

devlato commented Jul 14, 2025

Thanks @9aoy @fi3ework ❤️

@devlato
Copy link
Copy Markdown

devlato commented Jul 15, 2025

Folks, when do you think this change will land on npm? 🙏

@fi3ework
Copy link
Copy Markdown
Member

In days, we release frequently at current stage.

@9aoy 9aoy mentioned this pull request Jul 16, 2025
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.

[Feature]: Allow for customizing include via a CLI param (--include)

3 participants