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

Jest test runner #3363

Closed
bmealhouse opened this issue Jan 25, 2020 · 7 comments
Closed

Jest test runner #3363

bmealhouse opened this issue Jan 25, 2020 · 7 comments
Assignees
Labels
doc-enhancement suggested addition or improvement extensibility extension author content under /api
Milestone

Comments

@bmealhouse
Copy link

mocha is the only documented VS Code test runner for extensions.

Would you be willing to accept a PR documenting how to use jest as a test runner?

I recently released an npm package jest-runner-vscode that simplifies this process, and I'd be happy to open a PR to document this. The package is currently in use by my VS Code extension: shifty.

@gregvanl gregvanl added doc-enhancement suggested addition or improvement extensibility extension author content under /api labels Jan 27, 2020
@gregvanl
Copy link

Adding @octref to have a look at your jest test runner.

@bmealhouse
Copy link
Author

Great, thanks for looking into it!

Let me know If the test runner falls short in any way. I'd be happy to make improvements!

@octref
Copy link
Contributor

octref commented Feb 3, 2020

I look forward to your PR. This will help microsoft/vscode-test#23 and microsoft/vscode-test#37

@octref octref added this to the February 2020 milestone Feb 3, 2020
@bmealhouse
Copy link
Author

Great, I will get started on this.

@bmealhouse
Copy link
Author

@octref - I'm also discussing this package with the Jest team, so can we hold off on merging this to make sure everything is clear? See jestjs/jest#9542.

@bmealhouse
Copy link
Author

@octref - Both PRs are ready for review.

jest-runner-vscode was not invoked by Jest, so I had the package name wrong (according to the Jest runner documentation).

Since that could be a common source of confusion, I've renamed the package to vscode-jest-test-runner and updated the docs accordingly.

Please let me know if you have any questions.

@gregvanl gregvanl modified the milestones: February 2020, March 2020 Mar 25, 2020
@gregvanl gregvanl modified the milestones: March 2020, April 2020 Apr 21, 2020
@gregvanl
Copy link

gregvanl commented Sep 4, 2020

Closing until the upstream PRs are merged. We can reopen this PR is Jest support is added to the test runner.

@gregvanl gregvanl closed this as completed Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement suggested addition or improvement extensibility extension author content under /api
Projects
None yet
Development

No branches or pull requests

3 participants