Mocha sidebar installs statistics
By maty · VS Code Marketplace · Other
Mocha side bar is the most complete extension for mocha testing, based on not maintained mocha extension , have fun :)
Mocha sidebar has 169,003 recorded installs on VS Code Marketplace.
It ranks #1710 of 2,500 tracked VS Code Marketplace listings by installs.
It is rated 3.3 out of 5 from 60 ratings.
PluginStats has 3 daily observations since Oct 16, 2026; the latest is from Oct 18, 2026.
Rating: 3.32 / 5 from 60 ratings
About Mocha sidebar
Mocha Side Bar
Sidebar (new running in the new test view by default)
Expect error messages (similar to wallaby implementation)
coverage (via istanbul) soon as independent extension also
NEW run test in parallel
• Important Note for coverage feature - there is an open issue in vscode that its not able to select via mouse / render two different decorations at the same line. as a workaround try F9/ or hide show decoration by clicking on the status bar
Mocha side bar is the most complete extension for mocha testing based on not maintained mocha extension and supports all of its features and much more
Love this extension? Star us and rate us!
Mocha Side Bar already supports these features (feel free to propose new features)
• [x] New code coverage support • [x] see all tests in vscode side bar menu • [x] git lens for running/debugging directly form the code • [x] decorations which shows test status(pass/fail/not run) from code • [x] run tests for each level hierarchy from all tests to a single test(and each describer of course) • [x] debug tests for each level hierarchy from all tests to a single test(and each describer of course) • [x] auto run tests on file save • [x] see tests results directly on the code • [x] run/debug results directly from the code • [x] see test errors as decoration • [x] add context menu on folders in explorer to set subdirectory (#2). • [x] NEW run test in parallel (#162)
Not supported yet
• [ ] tree view files separation hierarchy for the top level hierarchy
Known issues
• Coverage- there is an open issue in vscode that its not able to select via mouse / render two different decorations at the same line. as a workaround try F9/ or hide show decoration by clicking on the status bar • Workspace - Currently not supported there is a workaround for solving it for more details #107
Collaborators:
• Maty Zisserman • Yehiyam Livneh
Contributors
• townbully
Contributions
Love this extension? Star us and rate us!
Want to make this extension even more awesome? Send us your wish.
Hate how it is working? File an issue and let us know.
FAQ
Q: Mocha Side Bar won't run?
A: Try the following: 1. Verify that there is no other mocha runner extension on your machine. 2. In case you're using test view option verify that the test view is already selected 3. Make sure that mocha.logVerbose is set to true and Check logs in the output menu. 4. Verify that the glob pattern is OK. The default is test/**/*.js 5. Verify that you're not running with an old node version. 6.* should work. 6. Try reinstall your VC Code instance 7. Ask for our support on gitter
Q: I can't run TypeScript (ts-node compiler)
A: Try the following 1. Try installing typescript and ts-node package locally (not with -g option) 2. Verify that you're using ts-node that support import. Version 7.0.0 should work. 3. Verify that your configuration is correct 4. If you're still having problems you can try running TypeScript test typeScript-test on your machine.
Q: I can't run babel-register compiler
A: Verify that your configuration is correct
Q: I can't check breakpoints when coverage is running.
A: Try the following: 1. Try F9 - That is an vscode issue that its not able to select/render two different decoration in the same place. 2. You can enable disable coverage decoration by clicking on the status bar so you can open it only if its matter.
Q: Run all tests not working.
A: Verify that there is no describe or test with the name "test" (should be fix soon)
Q: Mocha Sidebar is not working on Windows with WSL (Error: Cannot find Node.js installation from environment variable)
A: Update your PATH in ~/.profile to PATH="$HOME/bin:$HOME/.local/bin:/usr/bin:$PATH" + restart VS Code (read more about this here: https://stackoverflow.com/a/44450219/1782659)
Q: im getting permision denied for coverage feature
A: try the follows
If for some reason something is not working for you can file an issue.
Fit yourself
No one shoe could fit everyone. You may need to turn some switches on to fit your project. Please file us an issue if you think there is a better way to fit you and the others.
Mocha options
| Config | description | default |
| mocha.showInExplorer | mocha view is now shown in the new test view as default it possible to switch it back to the explorer view with this setting | | | mocha.options | Options to run Mocha |{} | | mocha.files.glob | Globs to use when searching for test files|test/**/*.js | mocha.files.ignore | Globs to ignore when searching for test files | | | mocha.env | Environment variables to run your tests | "false"| | mocha.path |set other mocha path then the built-in one only path to mocha package ../node_modules/mocha |"../node_modules/mocha"| | mocha.logVerbose |set mocha side bar log verbose for seeing in the output there are to different output sidebar-mocha for seeing mocha output and sidebar-coverage for seeing coverage output |true| | mocha.parallelTests |run mocha tests in parallel |1|
SideBar options
template
| Config | description | default |
| lens | enable/disable lens - (the option to run/debug tests inside the code) by selecting true ro false |true| | decoration |enable/disable decoration(the option to see test result status inside the code ) by selecting true ro false|true| | autoUpdateTime | set timeout (in milliseconds) between each decorations and lens updates during test writing by selecting true ro false |2000| | showDebugTestStatus | an option to disable running mocha twice in order to see status on the sidebar |true|
Coverage options (soon will be independent package for this)
template
| Config | description | default |…
Description from the VS Code Marketplace listing.
- bdd
- mocha
- tdd
- test
- testing
Where Mocha sidebar sits in the listing
Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (3)Similar VS Code Marketplace Other plugins
Data source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=maty.vscode-mocha-sidebar. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.