Nope, I used simple the org.jbehave:jbehave-groovy-archetype:3.6.1

But after while I've replaced the default Java story runner
(GroovyStories.java) with a Groovy one (SoapyRunner.groovy).

This Java story runner looks like this:
http://www.jarvana.com/jarvana/view/org/jbehave/jbehave-distribution/3.6-beta-1/jbehave-distribution-3.6-beta-1-src.zip!/jbehave-3.6-beta-1/archetypes/jbehave-groovy-archetype/src/main/resources/archetype-resources/src/main/java/GroovyStories.java?format=ok

J

On 16 April 2012 18:37, Mauro Talevi <[email protected]> wrote:

> Have you modelled your build config on the groovy example or the
> etsy-stories-groovy-pico tutorial ?
>
> On 16 Apr 2012, at 19:23, Janusz Kowalczyk <[email protected]>
> wrote:
>
> Hi All,
>
>
> I'm trying to use Maven 3 to run some jBehave tests written in Groovy.
> Test are running perfectly fine once executed from IDE (Intellij Idea
> 11.1.1) but whenever I'm trying to run them from a command line they are
> never executed.
>
> Here's an excerpt from maven's log:
>
> [INFO] --- jbehave-maven-plugin:3.6.1:run-stories-as-embeddables
> (embeddable-stories) @ soapy ---
> [INFO] Running stories as embeddables using embedder
> Embedder[storyMapper=StoryMapper,storyRunner=StoryRunner,embedderMonitor=MavenEmbedderMonitor,classLoader=EmbedderClassLoader[urls=[/home/jk/git/soapyclean/target/classes/,
> jbehave-groovy-3.6.1.jar, jbehave-core-3.6.1.jar, groovy-all-1.8.6.jar,
> junit-dep-4.8.2.jar, hamcrest-core-1.1.jar, hamcrest-library-1.1.jar,
> hamcrest-integration-1.1.jar, commons-collections-3.2.1.jar,
> commons-io-1.4.jar, commons-lang-2.5.jar, plexus-utils-2.0.5.jar,
> freemarker-2.3.16.jar, paranamer-2.4.jar, xstream-1.3.1.jar,
> xpp3_min-1.1.4c.jar, json-simple-1.1.jar, log4j-1.2.16.jar, sshj-0.7.0.jar,
> slf4j-api-1.6.1.jar, joda-time-2.1.jar,
> commons-codec-1.6.jar],parent=ClassRealm[plugin>org.jbehave:jbehave-maven-plugin:3.6.1,
> parent: sun.misc.Launcher$AppClassLoader@1ef6a746
> ]],embedderControls=UnmodifiableEmbedderControls[EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=true,ignoreFailureInView=false,verboseFailures=false,verboseFiltering=false,storyTimeoutInSecs=300,threads=1]],embedderFailureStrategy=org.jbehave.core.embedder.Embedder$ThrowingRunningStoriesFailed@57cae5b7
> ,configuration=org.jbehave.core.configuration.MostUsefulConfiguration@49af7e68
> ,candidateSteps=[],stepsFactory=<null>,metaFilters=[],systemProperties={},executorService=<null>,executorServiceCreated=false,storyManager=<null>]
> [INFO] Found class names: []
> [INFO] Using controls
> UnmodifiableEmbedderControls[EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=true,ignoreFailureInView=false,verboseFailures=false,verboseFiltering=false,storyTimeoutInSecs=300,threads=1]]
> [INFO]
>
>
> Whole code is available @ git:
> https://github.com/kowalcj0/soapy-clean
>
>
> I'd be grateful if anyone could help me with that.
>
>
> Cheers,
> JK
>
>

Reply via email to