Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating focused reports do not work with Jbehave? #688

Closed
spcial opened this issue Feb 15, 2017 · 3 comments
Closed

Generating focused reports do not work with Jbehave? #688

spcial opened this issue Feb 15, 2017 · 3 comments

Comments

@spcial
Copy link

spcial commented Feb 15, 2017

I'm trying to generate focused reports by using the property serenity.exclude.unrelated.requirements.of.type in my serenity.properties file, see:
serenity.exclude.unrelated.requirements.of.type= capabilities, features, stories

I'm using maven and jbehave and therefore jbehave metafilter instead the serenity tags function to execute my tests, e.g.:
clean verify serenity:aggregate -Dmetafilter="+test"

Still I get the following results:

image

Seems that the property has absolutely no effect but I would assume that it should not show capabilities, features and stories in the report anymore.

Used versions:
<serenity.version>1.2.3-rc.4</serenity.version>
<serenity.maven.version>1.2.2</serenity.maven.version>
<serenity.jbehave.version>1.21.0</serenity.jbehave.version>

Anything wrong with that? Do I miss something or is this a bug?

@wakaleo
Copy link
Member

wakaleo commented Feb 15, 2017

This feature is designed to work with the tags system property, I don't think it will work with JBehave meta filters.

@spcial
Copy link
Author

spcial commented Feb 15, 2017

Is there any way that this function will work with jbehave meta filters in the future? This feature, in my opinion, is quite important for bigger test sets and I would realy love to use it.

@wakaleo
Copy link
Member

wakaleo commented Feb 15, 2017

Possibly, but if you want it to happen quickly, your best bet is to take a look at the current implementation and propose a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants