The recommended way is to implement your own MetaMatcher.

Currently, you need to extend createMetaMatcher(String) method in MetaFilter although we could make it injectable.

Alternatively, use the GroovyMetaMatcher to invoke a groovy script that will do you check.

Cheers

On 10/07/2014 19:49, Brent Barker wrote:
Hi everyone!

Is there a easy way to conditionally skip a story using a meta tag? For example, I want to annotate my story with @bug BUG-3333 and then check if that bug is still open or not. If it is still open, skip the scenario/story.

Right now I am extending RegexStoryParser, calling super.ParseStory to get the story object, then if the bug meta property exists, I add the skip meta property to it.

Is there a better way to do this? I am not sure how to feed a list of meta filters to the embedder, since I can not access it from the story configuration where I have access to the story object

Thanks
-Brent


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to