Sha256: f29742e3c13d162f18bd04c190aeb9356e904110e7e85f57535bec1a36b48d6a

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 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"
  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cuke4php-0.9.4 features/scenario.feature
cuke4php-0.9.3 features/scenario.feature