Real-Time Testing with Wallaby

Imagine a world where there are no boundaries between your code and your tests. Instead of saving changes to your code and seeing the output from Jest in a separate panel, you would see the results of your tests instantly as you type, right before your eyes. Code with passing tests would be marked with a reassuring green. Code with failing tests would be highlighted in red, with a description of the failure floating next to it. Sounds like magic? It’s real, and it’s called Wallaby.

In addition to working like magic, Wallaby is a commercial product. We JavaScript developers have been blessed (spoiled, some would say) by an abundance of free tools. All of the other amazing software I’ve mentioned in this chapter—VS ...

Get Test-Driven React now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.