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

report.tagtypes not working as intended with serenity-Jbehave version 1.44.0 #217

Open
nkhand opened this issue Nov 28, 2018 · 6 comments
Open

Comments

@nkhand
Copy link

nkhand commented Nov 28, 2018

Hi
Trying the new feature to diplay custom tags under Functional Coverage using 'report.tagtypes' .
It doesnt seem to work ( not able to see TestType and Module data in generated Serenity Report for below meta )

Meta:

@TestType:Regression
@module:Talos

Serenity Core version : 2.0.17
Serenity-JBehave version - 1.44.0

Added below to serenity.properties :

report.tagtypes = testType,module,feature

Please revert . Thank you so much !

@wakaleo
Copy link
Member

wakaleo commented Nov 28, 2018

All of the new living doc features are as a rule designed for Cucumber, so mileage may vary with JBehave.

@nkhand
Copy link
Author

nkhand commented Nov 28, 2018

Oh okay . Thanks for such a prompt response !
So shall I take it as this is not supported for JBehave ?
I am looking for some custom tag ( other than @tag/tags) that can be displayed in Serenity Report with JBehave . Any other inputs for this , please ?

@wakaleo
Copy link
Member

wakaleo commented Nov 28, 2018

You can try with:

@tag TestType:Regression
@tag module:Talos

@wakaleo
Copy link
Member

wakaleo commented Nov 28, 2018

But to take advantages of all the Serenity BDD features, Cucumber is better.

@nkhand
Copy link
Author

nkhand commented Nov 28, 2018

Problem with using @tags with JBehave :
Problem Scenario
My Story Meta : @tags Product:ABC ,Function:XYZ
Scenario Meta : @tags TestType : Regression

When executing with JBehave meta filter enabled "+tags Product:ABC " , scenario is also getting excluded from execution . ( JBehave is overriding inherited story meta for @tags)

For this reason , I need to provide TestType with a different tag ( and not @tag/tags) .

Any other workaround , please !

@wakaleo
Copy link
Member

wakaleo commented Nov 28, 2018

In that case I don’t have a solution other than to use Cucumber

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

No branches or pull requests

2 participants