Sha256: 87e834b7abb01bb864c1ca384b2cac28e052808df205f2782056cc5928babb3c

Contents?: true

Size: 1.35 KB

Versions: 24

Compression:

Stored size: 1.35 KB

Contents

Feature: Check inconsistent formatting

  Scenario: Inconsistent formatting for integers
    Given I have a CSV with the following content:
    """
"1","2","3"
"Foo","5","6"
"3","2","1"
"3","2","1"
    """
    And it is stored at the url "http://example.com/example1.csv"
    And I ask if there are warnings
    Then there should be 1 warnings
    And that warning should have the type "inconsistent_values"
    And that warning should have the column "1"
    
  Scenario: Inconsistent formatting for alpha fields
    Given I have a CSV with the following content:
    """
"Foo","Bar","Baz"
"Biz","1","Baff"
"Boff","Giff","Goff"
"Boff","Giff","Goff"
    """
    And it is stored at the url "http://example.com/example1.csv"
    And I ask if there are warnings
    Then there should be 1 warnings
    And that warning should have the type "inconsistent_values"
    And that warning should have the column "2"

  Scenario: Inconsistent formatting for alphanumeric fields
    Given I have a CSV with the following content:
    """
"Foo 123","Bar","Baz"
"1","Bar","Baff"
"Boff 432423","Giff","Goff"
"Boff444","Giff","Goff"
    """
    And it is stored at the url "http://example.com/example1.csv"
    And I ask if there are warnings
    Then there should be 1 warnings
    And that warning should have the type "inconsistent_values"
    And that warning should have the column "1"


    

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
csvlint-1.5.0 features/check_format.feature
csvlint-1.4.0 features/check_format.feature
csvlint-1.3.0 features/check_format.feature
csvlint-1.2.0 features/check_format.feature
csvlint-1.1.0 features/check_format.feature
csvlint-1.0.0 features/check_format.feature
csvlint-0.4.0 features/check_format.feature
csvlint-0.3.3 features/check_format.feature
csvlint-0.3.2 features/check_format.feature
csvlint-0.3.1 features/check_format.feature
csvlint-0.3.0 features/check_format.feature
wjordan213-csvlint-0.2.8 features/check_format.feature
wjordan213.csvlint-0.2.8 features/check_format.feature
csvlint-0.2.6 features/check_format.feature
csvlint-0.2.5 features/check_format.feature
csvlint-0.2.4 features/check_format.feature
csvlint-0.2.2 features/check_format.feature
csvlint-0.2.1 features/check_format.feature
csvlint-0.2.0 features/check_format.feature
csvlint-0.1.4 features/check_format.feature