Test bundle injection should happen before main(), not after
As described in http://qualitycoding.org/app-delegate-for-tests/, I have main() test for the presence of a test-specific application delegate. This is important for bypassing the regular app delegate during testing. This technique fails in Xcode 7 beta 4, presumably because the test bundle is being injected too late.
(still true in Xcode 7.0.1)
https://openradar.appspot.com/22101460

















