sameeri / Code-CucumberJS

Experimenting the JS port of cucumber.
0 stars 0 forks source link

Experiment with Table data #8

Open sameeri opened 10 years ago

sameeri commented 10 years ago

We would like to see if Table data is supported in Cucumber-js is supported as in ruby.

http://cukes.info/api/cucumber/ruby/yardoc/Cucumber/Ast/Table.html

sameeri commented 10 years ago

Experiment with the following Scenario outline to verify cucumber-js supports Tables.

Feature: Find Recommendations based on user interests

As a user of the Books Inc, I want to be able to find recommendation of books based on my interests.

Scenario: Find book recommendations for user Given i'm trying to recommend a book for a user And the user has the following interests |Interest| |Fiction| |Adventure| |Romance| And the following books match the users interests |Book| Category| |Fiction Book|Fiction| |Romance Book|Romance| |Multi Book|Fiction, Adventure| |Some book|Cucumber, Technology| When the user wants to find recommended matches Then the user should be recommended with the following books |Recommendations| |Fiction Book| |Romance Book| |Multi Book|