-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove dependency on libxml from spec runner #6004
Remove dependency on libxml from spec runner #6004
Conversation
225e756
to
48ce17c
Compare
src/spec/junit_formatter.cr
Outdated
end | ||
io << %(">) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there is no message there is no "
to add
src/spec/junit_formatter.cr
Outdated
end | ||
# -------- private utility methods | ||
private def write_report(result, io) | ||
io << %( <testcase file=") << result.file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Escape this
src/spec/junit_formatter.cr
Outdated
# -------- private utility methods | ||
private def write_report(result, io) | ||
io << %( <testcase file=") << result.file | ||
io << %(" classname=") << classname(result) << %(" name=") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
* Revert "Change spec junit formatter to use XML::Builder" This reverts commit 5957f02. * Improve output of JUnit formatter and simplify implementation This re-applies the formatting of XML::Builder from 5957f02 without the dependency on libxml. * fixup! Improve output of JUnit formatter and simplify implementation * fixup! Improve output of JUnit formatter and simplify implementation
This PR reverts the implementation of #4090 but modifies the plain string formatter to produce the same, indented output as
XML::Builder
. This avoids having all specs depend onlibxml
while still enabling JUnit formatter.Closes #5662