DEV Community

Alexey Voinov
Alexey Voinov

Posted on

6

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)

Collapse
 
ben profile image
Ben Halpern

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

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay