Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Test Runner ReloadedNew to Visual Studio Code? Get it now.
Test Runner Reloaded

Test Runner Reloaded

Alexey Lepskii

|
4,160 installs
| (2) | Free
Run JavaScript and TypeScript tests easily 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

This extension is adapted from

  1. https://github.com/oshri6688/javascript-test-runner
  2. https://github.com/g3offrey/javascript-test-runner

and after some time, without responding to my pull requests I created another extension. Many thanks to all the contributors to repositories in list for the great work with this extension.

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 React-Scripts , 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
  • Nest e2e with Jest
  • React-Scripts

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

🐛

小秦

💻

Alexey Lepskii

💻 🐛 🤔

Josh Wymer

💻 🐛

Jurijs Kovzels

🐛

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.

Special Thx

Also big thx for my dear friend Maxim Bibik for great icon and logo. Visit if your need best design

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