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

Escape special characters in JUnit XML output #204

Merged
merged 4 commits into from
Apr 23, 2017

Conversation

AlexandreCarlton
Copy link
Contributor

Previously, characters such as > in tests were not escaped in the
generated JUnit XML output (resulting in malformed output).

Now, such characters are escaped.

This is my first experience with Go, so I'm definitely keen to improve
this.

References #203

AlexandreCarlton and others added 2 commits March 11, 2017 18:17
Previously, characters such as '>' in tests were not escaped in the
generated JUnit XML output (resulting in malformed output).

Now, such characters are escaped.

References goss-org#203
@aelsabbahy
Copy link
Member

Apologies, I completely forgot about this PR. I'll merge it in as part of the next release.

AlexandreCarlton and others added 2 commits April 22, 2017 10:32
Colour output is currently interfering with the XML escaping, so we
remove it.

References goss-org#203
@aelsabbahy aelsabbahy merged commit f8cfb5c into goss-org:master Apr 23, 2017
BenjaminHerbert pushed a commit to BenjaminHerbert/goss that referenced this pull request May 28, 2020
* Escape special characters in JUnit XML output

Previously, characters such as '>' in tests were not escaped in the
generated JUnit XML output (resulting in malformed output).

Now, such characters are escaped.

References goss-org#203

* Disable colour in JUnit output

Colour output is currently interfering with the XML escaping, so we
remove it.

References goss-org#203
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