A/B testing
Before shipping a feature with experiment support, verify the A/B testing configuration is correct.
Pre-ship verification
- Variant assignment works — the
ExperimentProviderinterface (variant(key) -> String) returns valid variants for all experiment keys used by the feature. - Default variant is safe — when the experiment provider is unavailable or returns an unknown key, the feature SHOULD fall back to the control (default) variant.
- Debug panel override works — verify the debug panel can force each variant locally for QA testing.