DEV Community

Alexey Voinov
Alexey Voinov

Posted on

A short note about failing tests

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.

Top comments (1)

ben profile image
Ben Halpern

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