June 2019
Intermediate to advanced
192 pages
4h
English
As we learned in the previous chapter, the essence of test-driven development is rapid iteration. Instead of waiting until you’ve churned out a whole feature before finding out if your code works, you split that feature into small pieces and enjoy feedback as you put each piece in place.
Ideally, the kind of feedback used for TDD should be automated (no effort required) and fast (no waiting). We’ve seen how helpful Jest’s watch mode is in both regards. But you can do even better, by incorporating feedback directly into your code editing environment.
This chapter is about that environment. It starts with VS Code, a powerful and highly customizable editor. Later in the chapter, you’ll incorporate some ...
Read now
Unlock full access