Skip to content

Is it possible to programmatically change flag value? For testing different codepaths? #281

@paoloyx

Description

@paoloyx

Hi all,

I'm looking after Flagsmith and I find it very powerful, so far. There's one thing that I'm not able to understand, though: how can I manipulate flags values during unit tests?

When testing my code I'd like to test all paths, with flag enabled and/or disabled.

How should I do it using Flagsmith?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions