Sha256: 8cd85fb08a67e9b822151a7562465ab3517d7bbd53cf4fcb712e949470355945

Contents?: true

Size: 887 Bytes

Versions: 8

Compression:

Stored size: 887 Bytes

Contents

Feature: Composition of tests

  Scenario: Present and missing
    Given an input csv
      """
      a,b,c
      yes,x,
      no,,
      no,x,x
      yes,z," "
      no," "," "
      """
    When you pass arguments --present b --missing c
    Then you get output
      """
      a,b,c
      yes,x,
      yes,z,
      """

  Scenario: Field is one of common null/missing values and you don't want those
    Given an input csv
      """
      a,b
      yes,x
      no,
      no,"  "
      no,N/A
      no,n/a
      no,NULL
      no,null
      no,-
      no,#DIV/0
      no,#REF!
      no,#NAME?
      no,NIL
      no,nil
      no,NA
      no,na
      no,#VALUE!
      no,#NULL!
      no,NaN
      no,#N/A
      no,#NUM!
      no,?
      yes,z
      """
    When you pass arguments --detect-missing --present b
    Then you get output
      """
      a,b
      yes,x
      yes,z
      """

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cvg-0.2.2 features/composition.feature
cvg-0.2.1 features/composition.feature
cvg-0.1.3 features/composition.feature
cvg-0.1.2 features/composition.feature
cvg-0.1.1 features/composition.feature
cvg-0.1.0 features/composition.feature
cvg-0.0.2 features/composition.feature
cvg-0.0.1 features/composition.feature