I consider myself to be a pragmatic fan of test-driven development (TDD), writing maybe 30-50% of my code using the technique.
Having done it in four different tech stacks over the past few years, I look forward to TDD a lot more in some of them than in others.
Let’s compare a few of the experiences to see what they get right and what they don’t, from best to worst:
- .Net: xUnit and NCrunch
- JS/TS: Jest and VS Code Jest extension
- Python: pytest
- Java: IntelliJ and Infinitest