[ 
http://jira.codehaus.org/browse/JBEHAVE-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146958#action_146958
 ] 

Mauro Talevi commented on JBEHAVE-130:
--------------------------------------

Perhaps we could have table parser, referenced to by annotation, whereby each 
row of table represents a re-run of the same scenario with different parameters.

> Other examples include
> ----------------------
>
>                 Key: JBEHAVE-130
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-130
>             Project: JBehave
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Elizabeth Keogh
>            Assignee: Elizabeth Keogh
>             Fix For: 2.1
>
>
> Antony and other Fitnesse / Concordion users would like something along these 
> lines:
> Given a user Fred Bloggs with username fbloggs and password Pa55word
> When fbloggs logs in with password Pa55word
> Then the page should say "Welcome, Fred Bloggs!"
> Other examples include:
> name             | username | password  | attempted | message
> --------------------------------------------------------------------------------------------------
> Jane Brown | jbrown        | F*bble       | F*bble       | Welcome, Jane Brown
> Terri Smith   | tsmith         | W*bble      | w*bble       | Incorrect 
> username or password
> Terri Smith   | tsmith         | W*bble      | W*bble       | Welcome, Terri 
> Smith
> Fred Bloggs | fbloggs      | Pa55word | Password  | Incorrect username or 
> password
> where the table headings are the same as the parameters in the various steps.
> --
> Reckon this could be done, either by using paranamer or by catching the 
> parameter names in the steps (which we don't do at the moment). Shouldn't be 
> too hard. Will look at it over the weekend.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to