No, there is no comma. As indicated in the doc page, the meta filter
is a string of +/- criteria concatenated by spaces. So, in your case:
mvn clean install -Dmeta.filter="+outcome failed -skip"
But - I re-emphasis - this only works if you've defined a Maven pom
variable called "meta.filter" and you've configured the
jbehave-maven-plugin to use it. There is nothing automagical about the
name "meta.filter". You can call it whatever you want.
Cheers
On 04/04/2012 14:10, Alves, David wrote:
Mauro,
I’m trying to run a set of Selenium tests as part of a nightly
integration via Bamboo/Sauce labs each night, and want to run a subset
of our suite, which will have the meta tag “@nightlyregression
true/false”, etc.
Mauro, If I wanted to have several meta filters at one time, would the
syntax simply be: mvn clean install -Dmeta.filter="+outcome failed,
-skip"?
Thanks.
David
*From:*Mauro Talevi [mailto:[email protected]]
*Sent:* Tuesday, April 03, 2012 7:21 PM
*To:* [email protected]
*Subject:* Re: [jbehave-user] metaFilters on Command-line
Yes, they can - have a look at
https://github.com/jbehave/jbehave-core/tree/master/examples/threads
Note that the property "meta.filter" is defined as a maven property
and can be overridden in command line:
mvn clean install -Dmeta.filter="+outcome failed"
or
mvn clean install -Dmeta.filter="-skip"
More info on meta filtering on
http://jbehave.org/reference/stable/meta-filtering.html
What is it that you're trying to do?
Cheers
On 03/04/2012 18:59, Alves, David wrote:
Does anyone know if metaFilters can be passed on the maven command
line as a System Property?
I have played with this, but cannot get it to work.
Am I confused and wasting my time, or do I have a syntax issue?
i.e. – mvn –DmetaFilters=”+skip false” clean install
If this should work, has anyone tried it?
If so, how do you specify a list?
i.e. – mvn –DmetaFilters=”+skip false, -theme, +smoke testing” clean
install (?)
Any comments, suggestions, or help would be much appreciated.
Thanks.
David
The information contained in this email message and its attachments is
intended only for the private and confidential use of the recipient(s)
named above, unless the sender expressly agrees otherwise.
Transmission of email over the Internet is not a secure communications
medium. If you are requesting or have requested the transmittal of
personal data, as defined in applicable privacy laws by means of email
or in an attachment to email, you must select a more secure alternate
means of transmittal that supports your obligations to protect such
personal data. If the reader of this message is not the intended
recipient and/or you have received this email in error, you must take
no action based on the information in this email and you are hereby
notified that any dissemination, misuse or copying or disclosure of
this communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by email and
delete the original message.