Skip to content

Mock/fake version of UnleashClient #241

@acsbendi

Description

@acsbendi

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For later

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions