How to test your code—part 2

Easy tips on how to write better automated tests

Last time I pointed out that you need to write a program that feeds your model simple inputs and verifies that the output is correct.

Here are some hints on how to do this better: