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)
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 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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email