Mauro Talevi commented on Story JBEHAVE-785

Hi, you can use a single file to contain the table data for each example, but what you cannot do is use a single file to hold all the tables for all your examples.

The added complexity of the double parsing (once for the story and once for the table file) would also need to weighted against the loss of readability and communication effectiveness.

The principle of BDD is that the story should be expressed in plain text and easily comprehensible by all stakeholders and team members. Already, expressing the data expressed in a separate file deviates slightly from this principle of readability but has the reminding feature of simplicity and force the scenario writer to use appropriately named files for the table data.

Having all the examples tables contained in a single file does not seem very useful nor effective because the examples table is an integral part of the scenario, and can only be fully understood by the proximity to the scenario steps.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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