serenity-bdd / serenity-jbehave

The Serenity integration for JBehave
39 stars 34 forks source link

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

Open nkhand opened 5 years ago

nkhand commented 5 years ago

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 commented 5 years ago

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

nkhand commented 5 years ago

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 commented 5 years ago

You can try with:

@tag TestType:Regression
@tag module:Talos
wakaleo commented 5 years ago

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

nkhand commented 5 years ago

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 commented 5 years ago

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