Using metafilter with dashes

32 views
Skip to first unread message

Dmitriy Grablyov

unread,
Jun 18, 2015, 9:38:17 AM6/18/15
to thucydid...@googlegroups.com
Hi, guys.

I'm trying to improve test suites by using metafilter, in Serenity documentation it is even written that there is a possibility to use metafilter like this:
mvn clean verify -Dmetafilter="+release sprint-1 -skip"
where meta is 'release' and its value is 'sprint-1'
I have a similar situation where every scenario is marked by jira key meta (e.g. AAB-12), but this doesn't work for me, because it seems like dash in jira key is considered during run as a meta separator. 
For the example with '+release sprint-1 -skip' I would see in debugger that actually applied metafilters are: include 'release sprint', exclude '1', exclude 'skip'.

Is there any workaround for this? 
Additionally I have sprint tags which also include dash and plus signs (e.g. sprint -1, sprint 2+). And if in situation with sprint tags I can just rename tag names, I wouldn't do that for jira key meta, because in this case I will lose link to Jira in reports.

Sereinity in my case is used together with serenity-jbehave

Reply all
Reply to author
Forward
0 new messages