Skip to content

Commit

Permalink
adding outline of tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
nnennandukwe committed Oct 31, 2024
1 parent 5339134 commit 05929ea
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions website/docs/feature-flag-tutorials/use-cases/a-b-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ To follow along with this tutorial, you will need access to an Unleash Instance

With Unleash set up, you can use your application to talk to Unleash through one of our [SDKs](/reference/sdks).

In this tutorial, you will learn how to set up and run an A/B testing using feature flags. You will learn:

how to use feature flags to define variants of your application for testing,
target specific users for each test variant,
manage cross-session visibility of test variants,
connect feature flag impression data to conversion outcomes, and
roll out the winning variant to all users.
You will also learn about how to automate advanced A/B testing strategies such as multi-arm bandit testing using feature flags.

To do A/B testing, we'll create a feature flag to implement the rollout strategy. After that, we'll explore what strategies are and how they are configured in Unleash.

In the Unleash Admin UI, open a project and click **New feature flag**.
Expand Down Expand Up @@ -84,8 +93,6 @@ A variant has four components that define it:
- an optional payload: A variant can also have an associated [payload](/reference/strategy-variants#variant-payload) to deliver more data or context.
- a value

While teams may have different goals for measuring performance, Unleash enables you to configure strategy variants within your application/service and the platform.

![You can review the anatomy of an Unleash strategy variants in relation to other Unleash features.](/img/anatomy-of-unleash-variants.png)

Open the gradual rollout strategy, select the **Variants** tab, and click **Add variant**. Enter a unique name for the variant. For the purpose of this tutorial, we’ve created 2 variants: `variantA` and `variantB`. In a real-world use case, we recommend more specific names to be comprehensible and relevant to the versions of the feature you’re referencing. Create additional variants if you need to test more versions.
Expand Down

0 comments on commit 05929ea

Please sign in to comment.