Thanks Mauro, At first I was reluctant in using surefire, since I already have other tests running under it and I wanted the JBehave to run independently. I finally created a new profile for JBehave tests and used the surefire-plugin to run them.
All is working fine. Cheers, Pran. On Tue, Jul 20, 2010 at 7:58 PM, Mauro Talevi <[email protected]>wrote: > The easiest way to integrate with existing CI tools is to run JBehave as > JUnit tests - e.g. via surefire-plugin if you are using Maven. > > Otherwise, you can configure the JBehave reports to be run ignoring > failure in the running of the stories but at view generation stage > detect if there failures. > > Look at the jbehave trader example on how to configure the running > ignoring failures in individual stories. > > Cheers > > On 20/07/2010 16:14, Pranav Singh wrote: > > Hi, > > > > I am trying to add a project to Bamboo that has JBehave tests. I want > > the build to succeed based on the results of the tests. I'm pointing > > Bamboo to the generated XML file, but Bamboo cannot parse it, hence, the > > build fails even if the tests ran correctly. > > > > Is there a procedure on doing so? Alternatively, is there a way to > > generate an xml file that Bamboo will recognize (i.e. XUnit XML schema, > > something similar to this > > <http://confluence.atlassian.com/display/BAMBOO/JUnit+parsing+in+Bamboo> > ) > > > > If not, what would be the best approach to this problem? > > > > Thanks, > > Pran. > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
