A script that converts output from OCUnit in xcodebuild to the XML format used by JUnit. This allows...
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
OCUnit2JUnit is a script that converts output from OCUnit or Kiwi to the format used by JUnit. The main purpose is to be able to parse output from Objective-C (OCUnit) test cases on a Java-based build server, such as Jenkins.
Use this shell command to build:
xcodebuild -target -sdk -configuration 2>&1 | ocunit2junit
The output is, by default, in the
If your build fails, this script will pass the error code
All output is also passed along, so you will still see everything in your build log
This script also generates human readable test results for Kiwi BDD Testing Framework:
However, if you don't want this, you can disable it in the header:
SUPPORT_KIWI = false
Free to use however you want.
OCUnit2JUnit was created by Christian Hedin. Twitter: @ciryon Google Plus: https://plus.google.com/103286810504956788514/