Segments in localhost YAML
Is there a way to define a local segment via the YAML file used for local splits?
I'd like to test that a split behavior works according to a split when I'm working in an environment that does not have permission to connect to the actual Split API.
-
Hi, localhost mode only allow specifying whitelisted user keys, Segment names is not supported.
Keep in mind localhost mode is designed to be used for unit testing, so that you can test all possible treatment values returned from SDK and ensure your code functions properly.
Thanks
Bilal
Please sign in to leave a comment.
Comments
2 comments