DEV Community


A short note about failing tests

voins profile image Alexey Voinov ・1 min read

I've just noted, that when you are in the stage of failing test, not only it is the great time to make sure your test actually tests something, but also it is a chance to see how it fails, and see if you can decipher the output, and make any sense of it. I believe it is a very good time to think about the names of methods, variables etc.


Editor guide
ben profile image
Ben Halpern

Yep. Stopping to smell the flowers is a great thing to remember to do.