October 2016
Intermediate to advanced
198 pages
3h 52m
English
A spy differs from mock objects in term of behavior corroboration. A spy acts more like a logger and instead of setting up behavioral expectations, it will log the calls made to the co-worker. A unit test will later assert the logs from the spy.
Read now
Unlock full access