Re: [jbehave-dev] Have all test data in one .table file
Hi, yes I understand the concept but it does not answer the question of how you see it working. Can you provide a concrete example of story and data file? Cheers On 3 May 2013, at 14:34, Jiang, Hong hong.ji...@sabre.com wrote: In our project, we need to use an automatic tool to create test data quite often. Also it is much easier to inspect test cases when all data are in one file. Thanks, Hong From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Thursday, May 02, 2013 3:47 PM To: dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Have all test data in one .table file Why don't you start by explaining your usecase and how you'd use it? There are good reasons not to put all the data in a file as it hinders readability and communication. That said it may be useful and practical in some cases. Please post a concrete example of how you'd see it working. Cheers On 02/05/2013 18:40, Jiang, Hong wrote: Any plan to support this soon? Any workaround? From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Thursday, May 02, 2013 10:51 AM To: dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Have all test data in one .table file Correct that: you can replace a table with a file content, but not map arbitrarily the rows from the scenario. On 2 May 2013, at 14:42, Jiang, Hong hong.ji...@sabre.com wrote: Our QA team prefers to have all test data in one .table file and map test data for each story/scenario by keyword or row number, just like the anchor for GivenStories. Is this supported in JBehave? Thanks, Hong
RE: [jbehave-dev] Have all test data in one .table file
In our project, we need to use an automatic tool to create test data quite often. Also it is much easier to inspect test cases when all data are in one file. Thanks, Hong From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Thursday, May 02, 2013 3:47 PM To: dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Have all test data in one .table file Why don't you start by explaining your usecase and how you'd use it? There are good reasons not to put all the data in a file as it hinders readability and communication. That said it may be useful and practical in some cases. Please post a concrete example of how you'd see it working. Cheers On 02/05/2013 18:40, Jiang, Hong wrote: Any plan to support this soon? Any workaround? From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Thursday, May 02, 2013 10:51 AM To: dev@jbehave.codehaus.orgmailto:dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Have all test data in one .table file Correct that: you can replace a table with a file content, but not map arbitrarily the rows from the scenario. On 2 May 2013, at 14:42, Jiang, Hong hong.ji...@sabre.commailto:hong.ji...@sabre.com wrote: Our QA team prefers to have all test data in one .table file and map test data for each story/scenario by keyword or row number, just like the anchor for GivenStories. Is this supported in JBehave? Thanks, Hong
Re: [jbehave-dev] Have all test data in one .table file
Correct that: you can replace a table with a file content, but not map arbitrarily the rows from the scenario. On 2 May 2013, at 14:42, Jiang, Hong hong.ji...@sabre.com wrote: Our QA team prefers to have all test data in one .table file and map test data for each story/scenario by keyword or row number, just like the anchor for GivenStories. Is this supported in JBehave? Thanks, Hong
RE: [jbehave-dev] Have all test data in one .table file
Any plan to support this soon? Any workaround? From: Mauro Talevi [mailto:mauro.tal...@aquilonia.org] Sent: Thursday, May 02, 2013 10:51 AM To: dev@jbehave.codehaus.org Subject: Re: [jbehave-dev] Have all test data in one .table file Correct that: you can replace a table with a file content, but not map arbitrarily the rows from the scenario. On 2 May 2013, at 14:42, Jiang, Hong hong.ji...@sabre.commailto:hong.ji...@sabre.com wrote: Our QA team prefers to have all test data in one .table file and map test data for each story/scenario by keyword or row number, just like the anchor for GivenStories. Is this supported in JBehave? Thanks, Hong
Re: [jbehave-dev] Have all test data in one .table file
Why don't you start by explaining your usecase and how you'd use it? There are good reasons not to put all the data in a file as it hinders readability and communication. That said it may be useful and practical in some cases. Please post a concrete example of how you'd see it working. Cheers On 02/05/2013 18:40, Jiang, Hong wrote: Any plan to support this soon? Any workaround? *From:*Mauro Talevi [mailto:mauro.tal...@aquilonia.org] *Sent:* Thursday, May 02, 2013 10:51 AM *To:* dev@jbehave.codehaus.org *Subject:* Re: [jbehave-dev] Have all test data in one .table file Correct that: you can replace a table with a file content, but not map arbitrarily the rows from the scenario. On 2 May 2013, at 14:42, Jiang, Hong hong.ji...@sabre.com mailto:hong.ji...@sabre.com wrote: Our QA team prefers to have all test data in one .table file and map test data for each story/scenario by keyword or row number, just like the anchor for GivenStories. Is this supported in JBehave? Thanks, Hong