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

Pester may fail to produce report if an error message contains VT sequences #2582

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ocalvo
Copy link
Contributor

@ocalvo ocalvo commented Dec 3, 2024

PR Summary

VT sequences are invalid in CData.
If an error message contains a VT sequence (for example to change the console color to red), then the NUnit report will fail to save.

PR Checklist

  • PR has meaningful title
  • Summary describes changes
  • PR is ready to be merged
    • If not, use the arrow next to Create Pull Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • Tests are added/update (if required)
  • Documentation is updated/added (if required)

@nohwnd
Copy link
Member

nohwnd commented Dec 13, 2024

Please add test for this so we don't regress in the future. Would it also make sense to backport this to NUnit2 output? or maybe it is problem that is common to all our reports including code coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants