-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: junit testresult file generation (#285)
Resolved an issue where the junit file generation created invalid XML files, because the failure message contains characters that should be XML-escaped. These are: <, >, &, " and '. Made sure to xml-encode these in the message, updated a testcase to make sure that this is now covered in a test as well. Additional commit to also escape the method name, it can be '<compile>' when testcases fail because of compilation errors. The '<' and '>' characters also need to be escaped in that case. Co-authored-by: Johannes Verelst <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters