Step composition steps ---------------------- Key: JBEHAVE-388 URL: http://jira.codehaus.org/browse/JBEHAVE-388 Project: JBehave Issue Type: New Feature Reporter: Paul Hammant
{noformat} 1. @Given("$who has previously bought a $what") 2. public String composedFullPurchase(String who, String what) { 3. return "given $who is logged in" + NL + 4. "when they put a" + what + " in their cart" NL + 5. "and go to checkout " + to " NL + 6. "and pay using their registered c-card" + NL + 7. "and go to the home page"; 8. } [Note: Mauro prefers an annotation based design] {noformat} -- 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