Sha256: 82db2cfdf9957989bee037b286f23d48119eee51bab89143033f2feef0804b3c

Contents?: true

Size: 1.3 KB

Versions: 7

Compression:

Stored size: 1.3 KB

Contents

Feature: Scenarios

Scenario Outline: I save values as properties and use them again later
  Given I store "<value>" into "<value>"
  Then "<value>" should equal "<value>"
  
  Examples:
    | value       |
    | !           |
    | @           |
    | #           |
    | $           |
    | %           |
    | ^           |
    | &           |
    | *           |
    | (           |
    | )           |
    | -           |
    | =           |
    | ()          |
    | with spaces |
    | $sVar       |
    
Scenario: I save an array as a property
  Given "value" is:
    | key  | value  |
    | key1 | value1 |
    | key2 | value2 |
  Then "value" should be set
  Then "non-value" should not be set
  And "value" should equal:
    | key  | value  |
    | key1 | value1 |
    | key2 | value2 |

Scenario: I unset a property
  Given I store "Foo" into "Bar"
  When I unset "Bar"
  Then "Bar" should not be set

Scenario: I try to read a property that was not set first
  Given "Foo" should not be set
  Then getting "Foo" should raise an "PHPUnit_Framework_Error"

@wire
Scenario: Before callbacks
  Given some setup
  Then "beforeAll" should be set
  And "beforeWire" should be set
  
Scenario: Before callbacks for untagged scenario
    Given some setup
    Then "beforeAll" should be set
    And "beforeWire" should not be set

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cuke4php-0.9.10 features/scenario.feature
cuke4php-0.9.9 features/scenario.feature
cuke4php-0.9.8 features/scenario.feature
cuke4php-0.9.6.c features/scenario.feature
cuke4php-0.9.6.b features/scenario.feature
cuke4php-0.9.6.a features/scenario.feature
cuke4php-0.9.5 features/scenario.feature