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.
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.