A short note about failing tests

github logo ・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.

twitter logo DISCUSS (1)
markdown guide
 

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

Classic DEV Post from Feb 22

What's your Wifi's name?

Tell me the funniest ones you've seen!

Alexey Voinov profile image
Seasoned programmer still curious about it.
profile pic

Don't be a stranger

Create your DEV Profile