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

Improve description/statusReason rendering #2925

Open
1 of 2 tasks
hugo-vrijswijk opened this issue Dec 21, 2023 · 0 comments
Open
1 of 2 tasks

Improve description/statusReason rendering #2925

hugo-vrijswijk opened this issue Dec 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hugo-vrijswijk
Copy link
Member

hugo-vrijswijk commented Dec 21, 2023

When the description/statusReason is filled, the report shows it when opening the mutant. Oftentimes this is filled with information from the test framework, such as an exception, diff or otherwise. A lot of frameworks fill this information with ansi-codes for colored text. For Stryker4s specifically, this will have a list of exceptions, delimited by newlines.

This means that a nicely reported error like this:

afbeelding

Ends up looking like this in the report:

afbeelding

Which is a lot less readable.

I think we can do two things to fix this:

  • Render newlines (and tabs?) properly
  • Render ANSI codes. Something like ansi_up could work, but it should be fairly easy to make something ourselves
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant