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

fix: ensure that the xunit reporter emits well-formed XML #5001

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

Commits on Jul 25, 2023

  1. Ensure that the xunit reporter emits well-formed XML

    XML does not allow certain characters to appear in documents. This
    change ensures that those restricted characters are replaced by legal
    characters.
    
    This bug means that when a test ends up containing, for example, ANSI
    color codes (i.e. `[36m<div[39m`) then the generated
    XML file is invalid and some consumers (such as CircleCI) are unable to
    parse the contents.
    
    Link: https://www.w3.org/TR/2006/REC-xml11-20060816/#charsets
    malloryavvir committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    c953873 View commit details
    Browse the repository at this point in the history