Sha256: 7fbeb6895231a54a6844a6e6b25e0c04e1c1897658982087236c32ae4534fb97
Contents?: true
Size: 1.1 KB
Versions: 7
Compression:
Stored size: 1.1 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
7 entries across 7 versions & 1 rubygems