Skip to main content

Testing Inside VS Code with Mocha (Video)

09-09-20 Rob Tarr

Learn to run one-off tests and debug inside your editor to keep your feedback loop as tight as possible.

I think we can all agree that quickly seeing if tests are passing or not makes test-driven development possible, and being able to easily run those tests is key. Sure, I can run my tests in the command line, but sometimes being able to see the test status right in my editor makes the process much simpler. Shortening the feedback loop is always a good idea. Being able to run one-off tests and debug them where I’m already working helps to keep the loop as tight as possible.

Let’s look at using the Test UI Explorer with Mocha to see how we can run and see tests alongside the code inside VS Code.

Sparkbox’s Development Capabilities Assessment

Struggle to deliver quality software sustainably for the business? Give your development organization research-backed direction on improving practices. Simply answer a few questions to generate a customized, confidential report addressing your challenges.

Related Content

User-Centered Thinking: 7 Things to Consider and a Free Guide

Want the benefits of UX but not sure where to start? Grab our guide to evaluate your needs, earn buy-in, and get hiring tips.

More Details

See Everything In

Want to talk about how we can work together?

Katie can help

A portrait of Vice President of Business Development, Katie Jennings.

Katie Jennings

Vice President of Business Development