Sample jbehave serenity maven project

305 views
Skip to first unread message

prabhakarqu...@gmail.com

unread,
Dec 7, 2015, 6:51:54 AM12/7/15
to Serenity BDD Users Group
Can any one provide me the Sample jbehave serenity maven project... Which has good project structure to implement .

Thanks in advance.

Dmitriy Grablyov

unread,
Dec 7, 2015, 7:23:39 AM12/7/15
to Serenity BDD Users Group

prabhakarqu...@gmail.com

unread,
Dec 7, 2015, 7:44:11 AM12/7/15
to Serenity BDD Users Group
Thanks... In this structure I didn't get where to place runner class and story generated @given when class...
Do we need 2 seperate class for runner and @given, when, then class.
Sorry if it's any basic question, trying to understand ..

Harry King

unread,
Dec 7, 2015, 9:19:13 AM12/7/15
to Serenity BDD Users Group

Dmitriy Grablyov

unread,
Dec 8, 2015, 10:04:42 AM12/8/15
to Serenity BDD Users Group
to get a runner class extend from SerenityStories and put your suite somewhere in src/test/java
then configure your maven-failsafe-plugin (or maven-surefire-plugin whatever) to include your suite class

for Given-When-Then you should create separate classes again in src/test/java
Reply all
Reply to author
Forward
0 new messages