Mock/fake version of UnleashClient #241
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the feature request
Similarly to the Java library's FakeUnleash, it would be useful to have an official way to easily mock the UnleashClient of this library.
Background
We would like to set enabled feature toggles from integration tests without having to implement a FakeClient in our own code.
Solution suggestions
Similarly to the Java version: define common interface,
FakeUnleash
implements it too, and it uses a completely local state so that enabled feature toggles can be set from the code.The text was updated successfully, but these errors were encountered: