5 ms·
Good point. Sometimes I cheat and implement before I test, but often when I do that I'll comment & uncomment the code that actually does the thing so I can see
by dgunay 4y ago
Good point. Sometimes I cheat and implement before I test, but often when I do that I'll comment & uncomment the code that actually does the thing so I can see the tests go from red to green.
Have been meaning to try mutation testing as a way of sussing out tests that cover lines but don't actually test behavior.
- majikandy 4y agoSnap, me too, amazing how many times it catches a simple mistake too like a < instead of > that you were certain you got the right way round as you wrote it.