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.