@Given, @When and @Then could make the string optional ....
-----------------------------------------------------------
Key: JBEHAVE-354
URL: http://jira.codehaus.org/browse/JBEHAVE-354
Project: JBehave
Issue Type: Improvement
Components: Core
Reporter: Paul Hammant
... in that case the Java method that it pertains to could provide the matching
expression:
| @Given
| public void aUserWithALargeBankBalance { .. }
would be equiv to
| @Given("a user with a large bank balance")
| public void aUserWithALargeBankBalance { .. }
or maybe we could endorse Ruby naming conventions for extra capitalization
clarity:
| @Given
| public void a_user_with_a_large_bank_balance { .. }
Obviously this is no good for cases where there are parameters. Though that
could be solved too later, with yet more work.
Guilherme Silveira's idea :)
--
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