Yes, you can use the Groovy MetaMatcher: all you need is to prefix
filter expression with groovy: and have groovy in your classpath
|useMetaFilter("groovy: theme == 'filtering' && theme != 'smoke testing') |
http://jbehave.org/reference/stable/meta-filtering.html
On 29/10/2012 17:59, Pascal Rapicault wrote:
Is there a way to configure the meta filters such that an AND'in of
the values is done rather than an OR'in like it is currently done.
For example when I configure the embedder as follows:
configuredEmbedder().useMetaFilters(Arrays.asList("+os linux", "+ws
gtk"));
And I give the following table (using the new support for meta
filtering in example table):
Examples:
|Meta:|config|continent|propertyKey|propertyValue|
|@os linux @ws gtk|b|america|e4e.customerId|eecs.mwp.linux|
|@os linux @ws motif|b|america|e4e.customerId|eecs.mwp.linux.motif|
Then both rows are executed whereas I would expect for only the first
row to be executed.
Pascal