Use the maven phase if you have the plugin configured in your pom.xml.

The build does not fail because it's configured to do so in the plugin.  Change 
the value of the ignoreFailures* parameters.


> On 21 Feb 2014, at 11:07, Johnny Wong <[email protected]> wrote:
> 
> Hello there --
> 
> I am new to JBehave and Maven and am struggling to properly run my JBehave 
> tests. From the command line, which is the proper command:
> 
> 
> mvn integration-test
> or
> 
> 
> mvn jbehave:run-stories-as-embeddables
> When I run the Etsy tutorial example with "mvn integration-test", it shows 
> 'BUILD SUCCESS' even though there are 2 stories (Etsy Cart and Etsy Browse) 
> that throw Exceptions. The JBehave HTML report shows the errors, but they are 
> not shown in the console (ie., the BUILD SUCCESS I already mentioned). I am 
> also going to integrate with Jenkins, so I need it to also report it on the 
> console (or not?)
> 
> Anyhow, How can I properly run JBehave tests with Maven on the CLI so that it 
> fails (but does not stop) when any of the tests fails and reports so on the 
> CLI?
> 
> Thanks!
> 
> -- 
> Saludos,
> 
> Johnny Wong
> Director de Desarrollo, Advertising & MercadoShops
> MercadoLibre
> 
> +54 (9) 11 33585162 | +1 415 670 9664 | Skype: wongjoh 
> http://www.linkedin.com/in/wongjoh

Reply via email to