Sha256: 776bbd8e15baca5058fd259b4760756bd3950c49264f25fe90b120d90eca64e9

Contents?: true

Size: 1.51 KB

Versions: 11

Compression:

Stored size: 1.51 KB

Contents

Feature: Feature flipping in the context of a request, session, etc.

  Scenario Outline: A feature can be flipped and remains flipped in the provided context
    Given there is a feature with a default state of '<default_state>'
      And there are two contexts
     Then the feature is '<default_state>' in the first context, '<default_state>' in the second context
     When I 'enable' the feature in the first context
     Then the feature is 'enabled' in the first context, '<default_state>' in the second context
     When I 'disable' the feature in the first context
     Then the feature is 'disabled' in the first context, '<default_state>' in the second context

    Examples:
      | default_state |
      |       enabled |
      |      disabled |

  Scenario Outline: A feature's state can be set in the URL parameters and remains in that state for that user
    Given there is a feature with a default state of '<default_state>' with cookie persistence
     When I override the state in the URL parameters with '<overridden_state>'
     Then the feature is '<overridden_state>' for the user
     When I 'enable' the feature for the user
     Then the feature is '<overridden_state>' for the user
     When I 'disable' the feature for the user
     Then the feature is '<overridden_state>' for the user

    Examples:
      | default_state | overridden_state |
      |       enabled |          enabled |
      |      disabled |         disabled |
      |       enabled |         disabled |
      |      disabled |          enabled |

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
flip_fab-1.1.21 spec/lib/flip_fab/helper.feature
flip_fab-1.1.20 spec/lib/flip_fab/helper.feature
flip_fab-1.1.19 spec/lib/flip_fab/helper.feature
flip_fab-1.1.18 spec/lib/flip_fab/helper.feature
flip_fab-1.0.18 spec/lib/flip_fab/helper.feature
flip_fab-1.0.17 spec/lib/flip_fab/helper.feature
flip_fab-1.0.16 spec/lib/flip_fab/helper.feature
flip_fab-1.0.2 spec/lib/flip_fab/helper.feature
flip_fab-1.0.1 spec/lib/flip_fab/helper.feature
flip_fab-1.0.0 spec/lib/flip_fab/helper.feature
flip_fab-0.0.1 spec/lib/flip_fab/helper.feature