You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have unit tests that generate xml more specifically if they have CDATA sections, it breaks the outputed junit xml so you can't use it in another tool like hudson. The easiest solution for me was to just xml escape the output, maybe have an option for this?
The fix is in test_suite.rb
change
builder.cdata! self.stdout
to
builder.cdata! self.stdout.to_xs
and
builder.cdata! self.stderr
to
builder.cdata! self.stderr.to_xs
The text was updated successfully, but these errors were encountered:
If you have unit tests that generate xml more specifically if they have CDATA sections, it breaks the outputed junit xml so you can't use it in another tool like hudson. The easiest solution for me was to just xml escape the output, maybe have an option for this?
The fix is in test_suite.rb
change
builder.cdata! self.stdout
to
builder.cdata! self.stdout.to_xs
and
builder.cdata! self.stderr
to
builder.cdata! self.stderr.to_xs
The text was updated successfully, but these errors were encountered: