开发者

How do i run JBehave tests with Maven?

开发者 https://www.devze.com 2023-02-13 15:38 出处:网络
How do i run JBehave tests from Maven? I have a class that extends JUnitStories which runs from my IDE.

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 开发者_如何学Pythonrun my tests. Can anyone point to a simple way to run tests with Maven?


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消