How to run JBehave tests with Maven?

How to run JBehave tests with Maven? I have a class that extends JUnitStories that runs from my IDE. I can not get the JBehave Maven plugin to run my tests. Can anyone point out an easy way to run tests with Maven?

+6
maven bdd jbehave
source share
2 answers

I know that Mauro and Paul have already answered you in the JBehave group, so I'm going to post their answers for completeness:

In the meantime, you can refer to the tutorial , which provides a simplified example (albeit a complete one) with one way to run stories through Maven.

Editing 2018: JBehave now supports Maven archetypes :

mvn archetype:generate -Dfilter=org.jbehave:jbehave 

The jbehave-simple-archetype (specified in this command) provides an easy way to get started.

+1
source share

If your project is based on the archetype of the JBehave project, you just need to run "mvn integration-test"

0
source share

All Articles