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
#!/usr/bin/env bash | |
# | |
# Usage: ./fix-unity-test-results.sh | |
# | |
# Unity uses NUnit under the hood for its test framework. Their command line tool outputs a NUnit | |
# test result XML file. See documentation: | |
# * https://github.com/nunit/docs/wiki/Test-Result-XML-Format#test-suite | |
# | |
# The format of this file is currently incorrect. The root element for NUnit XML test results files | |
# should be a '<test-run>' tag, which is missing from Unity's test results file. See issue on forum: |