Thank you Mauro. I tried that configuration on my project without success. I still can't make meta-filtering and report feature to work.
I've created a maven project on github which runs with maven plugin. It invokes the run-stories-with-annotated-embedder goal. The project uses spring and annotations. You can run it with mvn clean install -Pembedded You can clone the project here : git://github.com/figarocms/jbehave-poc.git Problem 1 : I defined meta on 2 stories. The build runs all stories/scenarios Problem 2 : I can't see my reports, at least one I can show in demo. I just have the raw one in target/jbehave/view/report.html which is totally naked, no css, nothing. Maybe it need a site goal ... I don't know. Any help is appreciated. Cheers, Louis @lgueye http://deepintojee.wordpress.com 2011/11/14 Mauro Talevi <[email protected]> > Hi Louis, > the idea of meta filtering is that you tag your stories with meta tags, eg: > > Meta: @theme Twain > > and then express your meta filter to match that tag, e.g. > mvn clean install -Dmeta.filter='+theme Twain' > I've updated the JBehave threads example (https://github.com/jbehave/** > jbehave-core/tree/master/**examples/threads<https://github.com/jbehave/jbehave-core/tree/master/examples/threads>) > to have some meta info to filter on. You can try different filters, e.g. > > mvn clean install -Dmeta.filter='-outcome failed' > > mvn clean install -Dmeta.filter='+actor Tom' > You'll see different stories being executed. > Note that as part of > http://jira.codehaus.org/**browse/JBEHAVE-625<http://jira.codehaus.org/browse/JBEHAVE-625>we're > making the meta filter logic expressable in different languages, e.g. > Groovy. > > If you feel you have a concrete example (e.g. your demo) that's not > working as you think it should, then feel free to send out way and we'd be > happy to help. > > Cheers > > > On Mon Nov 14 09:46:23 2011, louis gueye wrote: > >> Hi all, >> >> Next monday I will give a presentation of jbehave in my company. >> I'm willing to convince them to switch to jbehave (currently they use >> fitnesse). >> Someone has already given them a presentation about cucumber. They found >> it very interesting though the ruby part cooled them a bit. >> Among the features they liked most was the ability to run stories by tag >> which correspond to meta filtering in jbehave. >> >> My problem is that I could never understand how meta filtering works in >> jbehave. Neither without maven nor with maven. >> >> Any an explanation and/or working example would be greatly appreciated. >> >> Regards, >> >> Louis GUEYE. >> @lgueye >> http://deepintojee.wordpress.**com <http://deepintojee.wordpress.com> >> >> > > > ------------------------------**------------------------------**--------- > To unsubscribe from this list, please visit: > > > http://xircles.codehaus.org/**manage_email<http://xircles.codehaus.org/manage_email> > > >
