11

So yeah, apparently there is a drawback of covering your code with tests.

It becomes too scary to execute them because 1 of those 310 tests might fail. Seeing that not all the tests are green - that could be a nightmare.

Every time I run my tests I look away. There's just too much tension.. The more tests - the scarier

Comments
  • 8
    On the contrary, enough tests and they tell you exactly what is wrong :)
  • 17
    I'd take test anxiety over production anxiety anytime
  • 4
    How is knowing that everything went right stressful?
    and if it doesn't, go fix it! then everything is well and good with your world.

    If you have tests that fail intermittently, that's a sign of bad tests.
  • 8
    I think using tdd will make u feel more casual around red tests
  • 0
    Yeah, Im more stressed when Im about to refactor something, I delete half the function and run the tests just to see if Im covered and it comes all green :) that's pretty fucking scary in my book :c
  • 0
    How do you test the tests?
Add Comment