May 2019
Intermediate to advanced
496 pages
10h 38m
English
Great unit tests are:
Independent: Each test should test just one thing, and invoke only one unit. There are many techniques that we can employ to achieve this goal. To take just two examples: collaborators are often (but not always) mocked, and example data should be the minimum set of data required to correctly describe the test.
Read now
Unlock full access