Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support outputFile option for listTests option#14980

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@manoraj
Copy link
Contributor

@manorajmanoraj commentedMar 21, 2024
edited by SimenB
Loading

Fixes#14943

Closes#14944 (Closed it due to CLA issues)

🚀 Feature Proposal
Right now, the --listTests option will just write the list of tests to the console. My proposal is to use the --outputFile option along with the --listTests option to write the output to the file.

Motivation
We wanted to use the list of tests in the custom sequencers. This feature will help to store the list in the file so that the sequencers can access it.

Note that this is just my usecase. There may be different use cases as well.

Example
Pass --outputFile=test-lists.json along with --listTests

yarn test --listTests --json --outputFile=test-lists.json

@netlify
Copy link

netlifybot commentedMar 21, 2024
edited
Loading

Deploy Preview forjestjs ready!

NameLink
🔨 Latest commit5a79268
🔍 Latest deploy loghttps://app.netlify.com/sites/jestjs/deploys/66011fd69f1483000884e16c
😎 Deploy Previewhttps://deploy-preview-14980--jestjs.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 yourNetlify site configuration.

@manoraj
Copy link
ContributorAuthor

@SimenB Can you approve this PR

Copy link
Member

@SimenBSimenB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

thanks!

manoraj reacted with thumbs up emoji
@SimenBSimenB merged commitb3093f6 intojestjs:mainMar 25, 2024
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend usingStackOverflow or ourdiscord channel for questions.

@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsApr 25, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@SimenBSimenBSimenB approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Feature]: outputFile support for listTests option

2 participants

@manoraj@SimenB

[8]ページ先頭

©2009-2025 Movatter.jp