View Source SplitClient.Testing (SplitClient v0.1.0)

Functions to help with feature flag testing as well as making the concurrently running tests isolated and predictable

Link to this section Summary

Functions

Add setup :setup_split_client to the top of your test file. This will ensure that your Split.io treatments are isolated to your test and not inteferring with other tests running in parallel

Link to this section Functions

See SplitClient.Sandbox.create_splits/1.

Link to this function

setup_split_client(context)

View Source

Add setup :setup_split_client to the top of your test file. This will ensure that your Split.io treatments are isolated to your test and not inteferring with other tests running in parallel