Skip to content
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

Add --listTests flag #3338

Closed
cpojer opened this issue Apr 21, 2017 · 5 comments
Closed

Add --listTests flag #3338

cpojer opened this issue Apr 21, 2017 · 5 comments
Milestone

Comments

@cpojer
Copy link
Member

cpojer commented Apr 21, 2017

One some CI systems it may be beneficial to know which tests Jest would run based on changed files before actually deciding to run tests. This feature should print all tests as JSON:

$ jest --listTests --findRelatedTests path/to/test
["path/to/__tests__/a.js", "path/to/__tests__/b.js", …]

This task requires:

@anilreddykatta
Copy link
Contributor

@cpojer Do we want to do this in watch mode?

@cpojer
Copy link
Member Author

cpojer commented Apr 28, 2017

Hey @anilreddykatta, that doesn't really matter as much. We actually have somebody at FB working on this, so please don't waste any time on it in particular :)

Also, btw., I'm super excited to see you contributing to Jest. We have a discord channel where we all hang out, please join us! http://facebook.github.io/jest/help.html

@anilreddykatta
Copy link
Contributor

anilreddykatta commented Apr 29, 2017

@cpojer Sure. I already joined! 👍

@cpojer
Copy link
Member Author

cpojer commented May 3, 2017

See PR.

@cpojer cpojer closed this as completed May 3, 2017
@github-actions
Copy link

This issue 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 using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants