[
https://jira.codehaus.org/browse/JBEHAVE-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=287035#comment-287035
]
Mauro Talevi commented on JBEHAVE-688:
--------------------------------------
If you want to match meta property "@skip true" you need to have a meta-filter
with a non-empty value, e.g. "-skip *"
assertFilterAllowsProperty("-skip *", "skip true", false);
On the other hand, "@skip" is matched by "-skip", i.e. with an empty value:
assertFilterAllowsProperty("-skip", "skip", false);
Make sense?
> metaFilters "-skip" doesn't work while "-skip true" works
> ---------------------------------------------------------
>
> Key: JBEHAVE-688
> URL: https://jira.codehaus.org/browse/JBEHAVE-688
> Project: JBehave
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.5.4
> Environment: windows 7, java 1.6.0-26
> Reporter: Alexander Lehmann
> Priority: Minor
> Attachments: jbehave-skip.zip, metafilter.diff
>
>
> The examples on the jbehave.org site consistently use "-skip" as meta filter
> to exclude stories marked with @skip true, which doesn't work, however "-skip
> true" works as expected.
> Either the parsing of the filter condition is broken or the examples could be
> changed to use "-skip true".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email