-
Notifications
You must be signed in to change notification settings - Fork 57
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
Offer Jest as a testing solution for testing extensions #23
Comments
@sketchbuch you mean for developing extensions? |
Yes. Is this possible? |
Hmmm... i think I poste din teh wrong project. I meant vscode not vscode-test. I'm not even sure what this project does. When you use "yo code" to create a skeleton extension I want to be able to choose a testing framework too- between the existing Mocha and Jest, |
This depends on jest having a programmatic API: jestjs/jest#5048. You can give jestjs/jest#5048 (comment) a try. Just replace the content of the test runner with whatever jest invocation you need to do to run test. See to-be-published testing docs. Contribution is welcome if you want to add your jest-based test runner as a sample under https://github.com/Microsoft/vscode-extension-samples or updated vscode-docs. |
FYI: I've pulled things from here and there around the web and ended up: https://github.com/daddykotex/jest-tests it seems to work fine and uses jest as a test runner instead of mocha |
Currently everything is setup up for mocha. Can you also provide a testrunner for jest and let people choose what testing framework they want to use?
The text was updated successfully, but these errors were encountered: