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
MonkeyPolicy.InjectX(/* what to inject */, Double injectionRate, bool enabled) // or similar Func variants for injectionRate and enabled
Unit tests are likely to always want to inject the fault/response (ie injectionRate: 1 and enabled: true). Propose: Add syntax overloads throughout, of the form:
MonkeyPolicy.InjectX(/* what to inject */)
which chain on to injectionRate: 1 and enabled: true.
Timing
Would be nice to have this before launch, as stubbing for unit-tests is a major use case we can advertise, as part of the launch
See also #16 . Makes sense to implement #16 before this.