Currently I don't have any such scenario.
I am trying to show a demo to my colleagues on cucumber and if there is option for that I would add that to my demo
Thanks
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Here is an example from the cucumber docs:
https://github.com/cucumber/cucumber/wiki/Scenario-Outlines
For example, look at this feature:
Scenario Outline: Password validation
Given I try to create an account with password "<Password>"
Then I should see that the password is <Valid or Invalid>
Examples:
| Password | Valid or Invalid |
| abc | invalid |
If you have to implement the code to make this feature pass, can you tell what the underlying rule is?
Not very easily. So, let’s modify the feature to make it more self-explanatory, like this:
Feature: Account Creation
Scenario Outline: Password validation
Given I try to create an account with password "<Password>"
Then I should see that the password is <Valid or Invalid>
Examples: Too Short
Passwords are invalid if less than 4 characters
| Password | Valid or Invalid |
| abc | invalid |
| ab1 | invalid |
Examples: Letters and Numbers
Passwords need both letters and numbers to be valid
| Password | Valid or Invalid |
| abc1 | valid | | abcd | invalid | | abcd1 | valid |
By separating the examples into two sets and giving each one a name and description, we’ve explained the rule and given examples of the rule at the same time. "
Thank u so much Simone and paolo...this can help me a lot
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/0Xgw-FDZtOs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cukes+un...@googlegroups.com.
On Monday, July 4, 2016 at 8:28:43 AM UTC-7, Vino Maddy wrote:can we have multiple examples fro same scenario outline
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.