trivago / cluecumber

Clear and concise reporting for the Cucumber BDD JSON format.

Home Page:https://www.softwaretester.blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] change field feature name

Ripki-Dev opened this issue · comments

hello, I new using karate and cluecumber.
i use this report because this report is very cool & have much detail information.
when i run karate test, I got json that have value like this.

Jepretan Layar 2023-08-01 pukul 13 31 46

in cluecumber table report will show like this (i think this data is parse from relativePath in json file), CMIIW

Jepretan Layar 2023-08-01 pukul 13 32 28

my question is, can i change from relativePath to name for fill the data tables report?

Thank you for this, I will look at a way to do this.

I checked this. This information is not contained in the Cucumber JSON file (there the feature name is set as the feature file name) but in an additional file called karate-summary-json. Since Cluecumber only uses the Cucumber JSON format, this would be an additional step that is Karate exclusive.
To have the feature name here, the way that Karate writes these JSON files has to be modified so that the feature name is written there. So this is an issue that should rather be reported in the Karate repo.