top | item 8504039

Mini Server (written in Go) to Perform Xcode Unit Tests Through SSH

4 points| viktorbenei | 11 years ago | reply

Author here.

What XCUServer does: Xcode Unit Tests require the iOS Simulator to run, and the xcodebuild tests have to be run through a logged in user in a GUI context.

It's a real pain to integrate into automation systems which perform commands through SSH.

We have a build automation service (Bitrise - http://www.bitrise.io/) which required to run Xcode unit tests through SSH (in Virtual Machines) and since Xcode 6 the only solution we could find is a service which runs in the GUI context.

This minimal Go server does exactly that: it includes scripts to easily add it to OS X's launchd so it automatically starts when the user (used for running the unit tests) logs in and provides a very minimalistic HTTP based API to perform unit tests with it.

More information at the GitHub repo: https://github.com/bitrise-io/xcodebuild-unittest-miniserver

discuss

order

No comments yet.