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
It is very difficult to write unit tests around our code that makes use of Optimizely, since it provides no interface from which to create a suitable mock. We can make do by creating our own wrapping class, but this gets messy quickly.
Can an IOptimizely interface be added, so that we can use NSubstitute or a similar library to mock the Optimizely client?
The text was updated successfully, but these errors were encountered:
It is very difficult to write unit tests around our code that makes use of Optimizely, since it provides no interface from which to create a suitable mock. We can make do by creating our own wrapping class, but this gets messy quickly.
Can an
IOptimizely
interface be added, so that we can use NSubstitute or a similar library to mock the Optimizely client?The text was updated successfully, but these errors were encountered: