Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Simple Js Test RunnerNew to Visual Studio Code? Get it now.
Simple Js Test Runner

Simple Js Test Runner

Todd Ruan

|
1,466 installs
| (3) | Free
Run JavaScript tests simply as WebStorm using CodeLens
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JavaScript Test Runner

All Contributors

Thanks for https://github.com/alexeynobody/test-runner-reloaded (more info : https://github.com/unspr/simple-js-test-runner)

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?

Submit a issue Here.

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.

Buy Me a Coffee

Buy Me A Coffee

coffee

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

🐛

小秦

💻

ToddRuan0

💻 🐛 🎨 ⚠️

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 mentioned don't hesitate to notice it to me.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft