3 ms·
I also find when following red, green, refactor that you end up producing more targeted unit tests that are more expressive of the code you are testing. Trying
by markatkinson 9y ago
I also find when following red, green, refactor that you end up producing more targeted unit tests that are more expressive of the code you are testing.
Trying to write unit tests afterwards lands me with something that appears as more of an afterthought or add on. It doesn't have to be this way I suppose, but it is more prone to.
This might be because I am more used to the red, green, refactor method though.