6 Small Unit Testing Tips
DECEMBER 27, 2020
Choosing test values when writing unit tests is mostly guided by the need to cover all cases of the program logic. Here are a few tips on how to pick values that make mistakes easy to spot and the tests easy to read. Plus a bonus tip on a quick way to double check your tests. . Test what shouldn’t happen.