Customers & growth · Marketing analytics

Test design framework

Best for Startup to Growth

1HYPOTHESIS2VARIANTS3METRICS4RUN TEST5LEARN

Use it when

You have a written hypothesis and need a test plan that fixes the design, metrics, audience, sample size and decision rules before anyone builds the variant.

Skip it when

  • You have an idea but no written prediction or success metric. Use Test hypothesis development first.
  • The plan is signed off and you need to launch, monitor and read the test. Use A/B testing framework.
  • Too few users reach the change to fill a sample within a few weeks. Use Pre/post analysis and treat the read as weaker evidence.
  • You want to change several elements at once and learn how they interact. Use Multivariate testing.
  • You have many test ideas and need to choose which to plan first. Use ICE scoring (impact, confidence, ease).

What to apply first and what to use instead are listed below.

Approaches

Superiority test

Plan to show that the change raises the primary metric by at least the smallest lift worth acting on, and size the sample for that lift.

  • Pro It answers the usual question of whether the change is better, and every testing tool supports it.
  • Con A flat result says little, and it fits poorly when a change will ship for other reasons.

Do no harm test

Plan to show that the change does not lower key metrics by more than a margin agreed before launch, and size the sample for that margin.

  • Pro It suits redesigns, migrations and cost cuts, where proof of no meaningful harm is enough to ship.
  • Con Agreeing the margin takes hard trade-off calls, and a smaller margin needs a larger sample.

Inputs

  • Hypothesis
    One statement naming the change, the audience, the primary metric and the expected direction, from Test hypothesis development.
  • Baseline metrics
    Current rate or mean and variance of the primary and guardrail metrics over the last four weeks, from analytics or the warehouse.
  • Eligible traffic
    Users or sessions per week who would see the change, from analytics.
  • Lift and margins
    The smallest lift worth acting on and, for each guardrail, the largest drop you will accept, agreed with the business owner.
  • Testing setup
    The tool that assigns variants, the identifiers it can randomize on, such as user, account or device, and the events it logs.
  • Test calendarOptional
    Other tests on the same pages or users, plus launches and holidays in the planned window.

Steps

  1. Choose the test type and the variants, and describe exactly what changes in each variant.
  2. Pick the randomization unit and audience, using a stable identifier that matches the unit the decision applies to, such as the account for B2B pricing.
  3. Set one primary metric, the guardrail metrics with their margins and any secondary metrics, and confirm each one is logged in every variant.
  4. Calculate the sample size per variant from the baseline, its variance, the smallest lift or margin and the error rates, then convert it to whole weeks of traffic.
  5. Write the decision rule and the action for a win, a loss and a flat result, plus the ramp plan and the checks that pause the test, such as a sample ratio mismatch.
  6. Review the plan with the test owner and an analyst, then date it and file it in the test log before the variant is built.

Output

A one-page test plan, dated and filed in the test log before launch, that the team runs and reads the test against.

  • Hypothesis and test type
  • Variants and what changes in each
  • Randomization unit and audience
  • Primary, guardrail and secondary metrics, with margins
  • Sample size per variant and run length in weeks
  • Decision rule and action for a win, a loss and a flat result
  • Ramp plan and pause checks
  • Owner and review date

Done when

  • The plan names one primary metric, and every guardrail has a margin or is marked as a harm check.
  • The randomization unit matches the unit the decision applies to, with the reason written.
  • The sample size and run length are numbers, with the baseline, variance source and error rates shown.
  • The action for a win, a loss and a flat result is written and dated before launch.
  • Every metric in the plan is confirmed as logged in every variant.

Measure

Each quarter, count how many launched tests followed their plan unchanged, reached the planned sample and ended in a clear decision. Compare these counts with your own previous two quarters. Test design is working when fewer tests end inconclusive or get rerun for setup faults, and fewer guardrail problems appear after a change ships.

Hypothetical example

Fernway, a meal-kit service, wants to move its plan picker above the fold for new mobile visitors. The team plans a superiority test on checkout rate, randomized by user, with average order value and unsubscribe rate as guardrails, each allowed to drop no more than 1 percent. Baseline checkout rate is 4.0 percent with 30,000 eligible visitors a week. The smallest lift worth shipping is 0.4 points, which needs about 39,000 visitors per variant at a 5 percent significance level and 80 percent power, so the plan runs three full weeks. The test starts at 5 percent of traffic for one day. A win with guardrails inside their margins ships. A flat result keeps the current page and goes in the log.

Common mistakes

  • Choosing the primary metric after the data comes in. Fix the metric and guardrails in the dated plan before launch.
  • Randomizing by session when the decision is about users or accounts. Randomize on the stable unit the decision applies to.
  • Sizing the test for the lift you hope for. Size it for the smallest lift worth acting on, and accept a longer run or drop the test.
  • Leaving the flat result undefined. Write what you will do if nothing moves, so a null result still ends in a decision.
  • Running overlapping tests on the same users unchecked. Check the test calendar and keep tests that touch the same page or metric apart.

Sources

Show all 5 sources

By company stage

  1. Pre-IdeaNot applicableThere are no users to test on.
  2. IdeaNot applicableTraffic is too low to fill a sample, so formal test plans cannot work.
  3. Early StartupUsefulSome tests are feasible, though traffic often limits sample size.
  4. StartupCriticalEnough traffic and a team make fixed designs and decision rules necessary for reliable results.
  5. GrowthCriticalMany tests across segments need pre-registered designs to avoid false conclusions.
  6. ScaleUsefulExperimentation platforms handle much of the design, which the framework supports.
  7. EnterpriseUsefulDedicated experimentation teams already run design standards, so it adds modest value.

Apply first

  • Statistical significance frameworkCustomers & growth · Performance marketing

    Designing a test includes sample size, duration and confidence level, which come from significance testing.

  • Test hypothesis developmentCustomers & growth · Conversion rate optimization

    Test design starts from a clear hypothesis with expected outcome and metric.

Use instead

  • Test hypothesis development

    You have an idea but no written prediction or success metric. Use Test hypothesis development first.

  • A/B testing framework

    The plan is signed off and you need to launch, monitor and read the test. Use A/B testing framework.

  • Pre/post analysis

    Too few users reach the change to fill a sample within a few weeks. Use Pre/post analysis and treat the read as weaker evidence.

  • Multivariate testing

    You want to change several elements at once and learn how they interact. Use Multivariate testing.

  • ICE scoring (impact, confidence, ease)

    You have many test ideas and need to choose which to plan first. Use ICE scoring (impact, confidence, ease).

Recommended resources

No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.

Progress is not saved until you have an account. Create a free account