[jbehave-user] Issue about GivenStories & Examples

2014-10-14 Thread Zheng, Ayesha(AWF)
Hi all, I have a problem about GivenStories. Assume A.story has 2 or more scenarios: Scenario: A - 1 Meta: @id1 scenario1 Given actions with When ... Examples: |Apara1| |value1| Scenario: A-2 Meta: @id2 scenairo2 Given ... Examples: A2.table B.story want to run only scenario A-1 for prepare

[jbehave-user] Parametrised scenario problem

2014-09-19 Thread Zheng, Ayesha(AWF)
Hi all, I have a scenario: Given a user open homepage Then should see When user do something and go to another page Then should see Examples: test.table And test.table with content: |message1|message2| |Welcome|Hello| And step "Then should see " and "Then should see " do the same thing: jus

RE: [jbehave-user] Stories' Dependency

2014-09-12 Thread Zheng, Ayesha(AWF)
yword “GivenStories” is to do exactly that: run the dependency before each dependent story. If what you need is just to have the stories run in sequence (A -> B -> C), then the “GivenStories” keyword is not what you want to use. From: Zheng, Ayesha(AWF) [mailto:xuzh...@ebay.com] S

[jbehave-user] Stories' Dependency

2014-09-11 Thread Zheng, Ayesha(AWF)
Hi all, I have a problem with stories' dependency. Example: I have A,B,C stories, and stories B, C depends on A. (B->A, C->A). I add "GivenStories: A.story" in both B.story and C.story to do this, then run these 3 stories. I found A.story run for 3 times. I want to make A,B,C stories run only o