Make It Easy To Reproduce
Write code that is easy to reproduce the output. If it's easy to reproduce the output, it's easy to test.
The easier it is to reproduce.
The easier it is to test.
The easier it is to test.
The more you will test it.
Last updated