# How to build an A/B testing framework for modern CI/CD pipel

DevFeed: [How to build an A/B testing framework for modern CI/CD pipel](<https://devfeed.tech/articles/how-to-build-an-a-b-testing-framework-for-modern-ci-cd-pipel-13418.md>)

Original publisher: [Read original article](<https://www.harness.io/blog/how-to-build-an-a-b-testing-framework-for-modern-ci-cd-pipelines>)

Author: Aaron Newcomb

Published: 2026-08-10T00:00:00Z

Content type: article

Language: en

Sources: [Harness](<https://devfeed.tech/sources/harness-blog.md>)

Topics: [A/B Testing](<https://devfeed.tech/topics/a-b-testing.md>), [CI/CD Pipeline](<https://devfeed.tech/topics/ci-cd-pipeline.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Continuous Delivery (CD)](<https://devfeed.tech/topics/continuous-delivery.md>)

Tags: [a-b-testing](<https://devfeed.tech/tags/a-b-testing.md>), [accelerate](<https://devfeed.tech/tags/accelerate.md>), [boost](<https://devfeed.tech/tags/boost.md>), [build](<https://devfeed.tech/tags/build.md>), [cd](<https://devfeed.tech/tags/cd.md>), [ci](<https://devfeed.tech/tags/ci.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [ci-cd-pipeline](<https://devfeed.tech/tags/ci-cd-pipeline.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [framework](<https://devfeed.tech/tags/framework.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [innovation](<https://devfeed.tech/tags/innovation.md>), [learn](<https://devfeed.tech/tags/learn.md>), [modern](<https://devfeed.tech/tags/modern.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [risk](<https://devfeed.tech/tags/risk.md>), [software](<https://devfeed.tech/tags/software.md>), [software-delivery](<https://devfeed.tech/tags/software-delivery.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

An A/B testing framework works best as part of CI/CD, with deployment separated from release: ship code with features disabled, then expose them progressively and use real-time metrics to validate impact before broader rollout. The excerpt describes a framework with traffic distribution, feature flags or runtime controls, targeting rules, exposure tracking, business and reliability metrics, promotion and rollback logic, and permissions for managing experiments. Automation can help detect regressions early and roll back quickly, while guardrail metrics and progressive delivery support safer tests without slowing releases. The excerpt begins outlining drawbacks of traditional release-linked testing but cuts off before detailing them.

## Source excerpt

Learn how to build an A/B testing framework in your CI/CD pipeline. Accelerate software delivery, reduce risk, and boost innovation. Start now! | Blog