Alonso Del Arte
1 min readDec 2, 2019

--

This happens to me, that I test for the wrong thing. But it happened to me a lot more often when I started testing but before adopting TDD.

It’s not enough for the test to fail, it should fail for the right reason. You can always write a test that fails depending on a pseudorandom number. That does nothing to discredit TDD.

--

--

Alonso Del Arte
Alonso Del Arte

Written by Alonso Del Arte

is a Java and Scala developer from Detroit, Michigan. AWS Cloud Practitioner Foundational certified

No responses yet