Sha256: 345be623ff874cd950f0089d487cc3e8a2192a28b267d30091fb82a0cda80ac1

Contents?: true

Size: 807 Bytes

Versions: 5

Compression:

Stored size: 807 Bytes

Contents

Feature: Argument Transformation
  As a user of cuke4php
  I want to use step argument transforms
  So that I can simplify my code
  Example transforms can be found in WireSteps.php
  
Scenario: An argument is transformed to an integer
  Given I store "123" into "Foo"
  Then "Foo" should be a kind of "integer"
  
Scenario: use a transform to substitute variable in arguments
  Given I store "foo" into "Bar"
  And I store "{Bar}" into "Foo"
  Then "Foo" should equal "foo"
  
Scenario: An argument is transformed, but the second defined transform wins
  Given I store "abcd" into "Foo"
  Then "Foo" should equal "ABCD"

Scenario: transform a table
  Given "table" is:
    | reverse |
    | one |
    | two |
    | three |
  Then "table" should equal:
    | reverse |
    | three |
    | two |
    | one |

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuke4php-0.9.6.b features/transform.feature
cuke4php-0.9.6.a features/transform.feature
cuke4php-0.9.5 features/transform.feature
cuke4php-0.9.4 features/transform.feature
cuke4php-0.9.3 features/transform.feature