April 2018
Beginner
536 pages
13h 21m
English
Spies are a feature provided by some testing frameworks. They allow us to wrap a method or function and record its usage. We can record things such as the method or function arguments, their return type, or the number of times that they have been invoked. When we wrap a method or function with a spy, the underlying method's functionality does not change.