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