DEV Community

Discussion on: Examples of the power of Unit Testing

Collapse
 
leonormes profile image
Leon Ormes

Thanks for the reply. I agree with that feeling you get when your components are well tested! I have my tests and transpile steps in watch mode and I love that with the tests and type assertion (we use Typescript) I can make changes and instantly get feedback on the impact. Then I can either roll back the small change and think again or make the other changes needed to make the code work again. This way you code is nearly always "working". Also, I am now going to look at a way to get Bug Traps into my code. It is a great idea!