Scenario Outline:
blah blah
Scenarios:
| col | col |
| dat | dat |
Scenario Outline
blah blah
<use first scenarios table>
is ther a way to do this? I’d hate to have to copy a table… =\
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The data you use shouldn’t depend on the scenario, so it’s no big deal if you copy/paste the data from one scenario to the next. I know this isn’t DRY – so if you’re copying the data more than a couple of times, consider using a Factory instead (see #2).
That being said, there’s a couple of things you can do/questions to ask:
blah blahis implemented as a step definition, then it’s assumed that you’ll reuse it when needed, that’s partly what it’s for