When launching unit tests (XCTest) in Xcode 5 for a Mac Cocoa app, it starts the app before launching the tests.
Is there a way to prevent this from happening?
Just a little side note:
I've found the following question which seems to be pretty similar to what I need... That question is for iOS instead, I want to solve this for Mac OS X.
The problem is it is using UIApplicationMain
which is to my knowledge for iOS. For OSX, I don't believe there is a way to switch app delegate like that with NSApplicationMain
.