Skip to content

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

Answered by dabeeeenster
paoloyx asked this question in General
Discussion options

You must be logged in to vote

Hi @paoloyx - thanks for the question - I've moved it to our Discussion area as its more relevant here.

You can programatically drive Flagsmith via our API - more details here. Some of our users use the API to drive tests by modifying the Flagsmith flags for a particular test environment as part of the tests themselves.

For particular languages, it would depend on what the most idiomatic way of implementing these code path changes would be - and that would depend on the language at hand.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paoloyx
Comment options

Answer selected by dabeeeenster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #281 on August 30, 2021 17:00.