Sha256: d4144719e5b8208c799288169f8c559bcaf2aaeea2f927a0f296a95de29bd1f6

Contents?: true

Size: 1.09 KB

Versions: 33

Compression:

Stored size: 1.09 KB

Contents

Feature: Tests the parse_date transform

  Background:
    Given the job is 'ParseDate'
    And the job source 'Source Data'
    And the job target 'Target Data'

    And the source 'Source Data'
    And the target 'Target Data'

  Scenario Outline: Parsing date strings.
    Given the source field 'Date String' has the value "<Date String>"
    And the job parameter 'format' is "<Format>"
    Then the target field 'Parsed Date' is set to the value "<Parsed Date>"
    Examples:
      | Date String | Format   | Parsed Date |
      | 2015-10-21  | %Y-%m-%d | 2015-10-21  |
      | 10/21/2015  | %m/%d/%Y | 2015-10-21  |
      | 20151021    | %Y%m%d   | 2015-10-21  |
      |             | %m/%d/%Y |             |

  Scenario Outline: Parsing date strings for missing values.
    Given the source field 'Date String' has the value ""
    And the job parameter 'if_blank' is "<If Blank>"

    Then the target field 'Parsed Date' is set to the value "<Parsed Date>"
    Examples:
      | If Blank   | Parsed Date |
      | low        | 1900-01-01  |
      | high       | 2999-12-31  |
      |            |             |

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
remi-0.2.39 features/transforms/parse_date.feature
remi-0.2.38 features/transforms/parse_date.feature
remi-0.2.37 features/transforms/parse_date.feature
remi-0.2.36 features/transforms/parse_date.feature
remi-0.2.35 features/transforms/parse_date.feature
remi-0.2.34 features/transforms/parse_date.feature
remi-0.2.33 features/transforms/parse_date.feature
remi-0.2.32 features/transforms/parse_date.feature
remi-0.2.31 features/transforms/parse_date.feature
remi-0.2.30 features/transforms/parse_date.feature
remi-0.2.29 features/transforms/parse_date.feature
remi-0.2.28 features/transforms/parse_date.feature
remi-0.2.27 features/transforms/parse_date.feature
remi-0.2.26 features/transforms/parse_date.feature
remi-0.2.25 features/transforms/parse_date.feature
remi-0.2.24 features/transforms/parse_date.feature
remi-0.2.23 features/transforms/parse_date.feature
remi-0.2.22 features/transforms/parse_date.feature
remi-0.2.21 features/transforms/parse_date.feature
remi-0.2.20 features/transforms/parse_date.feature