How do i run JBehave tests from Maven? I have a class that extends JUnitStories which runs from my IDE. I cant get JBehave Maven plugin to run my tests. Can anyone point to a simple way to run tests with Maven?
Asked
Active
Viewed 1.3k times
2 Answers
1
I know Mauro and Paul have already responded to you in the JBehave group, so I'm going to put their responses here for completeness:
In the interim, you can refer to the tutorial, which provides a simplified example (although complete) with one way to run stories via Maven.
2018 edit: JBehave now supports Maven's archetypes:
mvn archetype:generate -Dfilter=org.jbehave:jbehave
The archetype jbehave-simple-archetype
(listed from this command) provides a simple way to get started.

Lunivore
- 17,277
- 4
- 47
- 92
-
Hi Sathish, I want to apologise for not doing more on this. As always, other commitments have gotten in the way of my fun. I think from your list posts that you've got it working now? – Lunivore Mar 20 '11 at 20:35
0
If your project is based on JBehave project archetype, then you just need to run "mvn integration-test"

NicoPaez
- 426
- 2
- 12