OxL Справочник OxL
РусскийEnglish

fn oxlAbRun

Runs the experiment spec on its recorded traffic; prints the comparison and fails the test on a violated guard.

Example:

oxl✓ проверяется в CI
test ab "search v2" {
  variant a = current
  variant b = candidate
  split by .User 50/50
}
pub(api) fn oxlAbRun(spec: str)

С версии. 1.0.0-beta

Параметры

ИмяТип
specstr

Ошибки

panics when a guard of the experiment is violated.

Эффекты

не объявлены (чистая, пока тело не говорит иное)

Определено в: std/core/testing.oxl:456

См. также