question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request]: Ability to change the displayName of a Feature in the report

See original GitHub issue

At 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:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ptrthomascommented, Jul 9, 2020

@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

1reaction
ptrthomascommented, Jun 20, 2020

@karatekid5088 yes I plan an RC4 next week

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ability to change the displayName of a Feature in the report ...
At the moment, the name of a feature when displayed in a report is set to it's relative path, with prefix removed, as...
Read more >
[columns] display names - Feature Requests
It would be great to be able to set a custom display name for a column in a report. For example, if I...
Read more >
Change appearance of headings or "display names"
Capability to change size, color, etc of display name with format rule Feature Requests. The following discussion is from a year ago: I...
Read more >
[Feature Proposal] Display name instead of / besides ... - GitLab
Improves overall readability (and thus productivity) of issues, comments, merge requests, etc in cases where non descriptive usernames are used.
Read more >
Display name of nested user in NTFS report - Custom Reports ...
Hi. We understand that you need to add "Display Name" to nested users in NTFS reports. There are a number of steps required....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found