Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vit0r/gherkin-csv-reader

Importing CSV as test data in Cucumber - outline
https://github.com/vit0r/gherkin-csv-reader

cucumber gherkin-parser outline ruby

Last synced: about 2 months ago
JSON representation

Importing CSV as test data in Cucumber - outline

Awesome Lists containing this project

README

        

#Gherkin Parser Outline Scenaries CSV for cucumber-core-1.5.0

#replace file parser.rb in -> ruby_dir/li/ruby/gems/2.3.0/gems/cucumber-core-1.5.0/lib/cucumber/core/gherkin

#Feature: Eather

Scenario Outline: eating
Given there are cucumbers
When I eat cucumbers
Then I should have cucumbers

Examples:
data.csv

Scenario Outline: eating2
Given there are eating
When I eat eating
Then I should have eating

Examples:
./dir/data1.csv

#File data.csv or data1.csv format:
| start | eat | left |
| 12 | 5 | 7 |
| 20 | 5 | 15 |