3 ms·
I think that when you need to test the code the naive solution is to write less complexed code, witch is a win in itself. In some cases you can get rid of all c
by z3t4 10y ago
I think that when you need to test the code the naive solution is to write less complexed code, witch is a win in itself. In some cases you can get rid of all couplings/complexity and state, so that the code/function/unit never breaks, and writing automated tests for those becomes kinda unnecessary.