/javascript-test-runner

🚀 Run JavaScript easily using CodeLens

Primary LanguageTypeScriptMIT LicenseMIT

JavaScript Test Runner

All Contributors

Overview

JavaScript Test Runner add codelens near describe, it, and test keywords permitting to run associated tests and outputing result in a Code integrated terminal. Currently it works out of the box for Mocha and Jest test runner.

Demo

demo

Available configuration

javascript-test-runner.additionalArgs : CLI args to pass to test runner. Example : "--watch"

javascript-test-runner.envVars : Environment variables to set before running a test. Example : { NODE_ENV": "test" }

Compatibility

This extension works currently with :

  • Mocha
  • Jest

Need help?

Visit the Troubleshooting Guide.

Contribute

Please feel free to fork, improve, make pull requests or fill issues. I'll be glad to fix bugs you encountered or improve the extension.

Contributors

Thanks goes to these wonderful people (emoji key):


Geoffrey

💻 🤔

Johan Rouve

💻 🐛

Kreshchenko Nickolay

💻 🤔

roggenbrot

💻 🐛 🤔

Fabien Allanic

🐛

Daniel Friesen

🐛

Steven Goris

🐛

Sam J

🐛

Jorik Kraaikamp

🐛

Peter Hu

🐛

Marco Andreotti

🐛

小秦

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Please be advised that any kind of contribution (code, bug report, idea ...) deserves to appear here. If you don't appear here don't hesitate to open a new ticket. In the other hand if you don't want to be mentionned don't hesitate to notice it to me.