[Feature Request]: Ability to change the displayName of a Feature in the report
See original GitHub issueAt the moment, the name of a feature when displayed in a report is set to it’s relative path, with prefix removed, as per the FeatureResult constructor:
public FeatureResult(Results results, Feature feature) { this.results = results; this.feature = feature; **displayName = FileUtils.removePrefix(feature.getRelativePath());** }
I just wondered if we could have the ability to edit displayName? (Possibly in a similar fashion to the ‘setName()’ method for Feature
?)
I realize this may not be possible and that displayName may be private for a reason.
I also realize this may not matter to others. In my case, I am writing a framework on top of this (excellent) framework and every little helps in my effort of convincing people to use Karate instead of RESTAssured + 3rd party report plugin 😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
@karatekid5088 yes but it is indeed delayed. will try for next week. you can build from source any time as you know.
I learnt about this trick recently, maybe it helps for you in the meantime ? https://twitter.com/maxandersen/status/1277116280542281729
@karatekid5088 yes I plan an RC4 next week