Feature Flag

Feature Flag image
A feature flag or some call it a feature toggle is a conditional switch in your code that lets you control whether a feature is active internally or to users. They can be used for any part of the tech stack delivery including a CI/CD pipeline or test strategy.

Most commonly used to:
  • Gradually roll out features to users
  • Test in production safely
  • Hide unfinished work
  • Run A/B or Multivariant testing/experiments

Why it’s useful for testers (TEVS) :
  • Test new features in isolation
  • Enable controlled anomaly detection in Observability
  • Validate behavior across different toggle states
  • Simulate different user experiences without multiple builds
At a basic level, a feature flag acts as a conditional switch. The code for a feature can be deployed to production or any other environment, but its visibility or behaviour is controlled by configuration in a specific system.  By changing the flag’s state, teams can turn the feature on or off instantly, often for specific users, environments, or percentage-based rollouts. This can make the testing process much clearer and easier.
We highly recommend readin this article by Daria Tsion: Testing with feature flags: what we expected and what actually happened
Explore MoT
MoT London image
Thu, 23 Apr
London Chapter April gathering
MoT Software Testing Essentials Certificate image
Boost your career in software testing with the MoT Software Testing Essentials Certificate. Learn essential skills, from basic testing techniques to advanced risk analysis, crafted by industry experts.
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter