You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PeterWAWood edited this page Jun 9, 2013
·
1 revision
Author: Peter W A Wood
When writing automated tests it is often necessary to re-define existing functions so as to be able to predict the response from the function. The most obvious example is testing anything that depends on the date and time. Other examples include functions that make network calls.
Providing a compile time option to allow the re-definition of functions would help people test their code better.