ciryon/OCUnit2JUnit
Acerca de
A script that converts output from OCUnit in xcodebuild to the XML format used by JUnit. This allows for XCode builds on continuos integration servers like Jenkins, complete with test reports!
Herramientas de desarrolloCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalABANDONWARE!
This script is no longer maintained! Have a look at one of the many forks or look for alternatives. Thanks for all the fish! 🐟
Introduction
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.
Installation
- Install with 'gem install ocunit2junit' (possibly prepended by 'sudo' if your Ruby installation requires that)
Usage
Make sure your build server can access the xcodebuild executable
Use this shell command to build:
xcodebuild -target <target> -sdk <sdk> -configuration <config> 2>&1 | ocunit2junitThe output is, by default, in the
test-reportsfolderIf 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
Kiwi
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
More information
- If you're having issues with character encoding, please upgrade to Ruby 1.9.2 or later.
- More info can be found in this blog post.
Licence
Free to use however you want.
Author
OCUnit2JUnit was created by Christian Hedin. Twitter: @ciryon Google Plus: https://plus.google.com/103286810504956788514/
Explorar proyectos relacionados
Cargando…