Is there a way to run XCTests without actually launching my app? The app’s startup logic is interfering with my test scenario.
-
-
@drance I break the vast majority of tests off into more isolated subsystems, and then only a few "sloppy" tests or UI tests go in the host.0 replies 0 retweets 0 likes -
@danielpunkass That’s what I’d like to do, but I found that a lot of NSAttributedString stuff will crash if it’s not running inside an app.0 replies 0 retweets 0 likes -
@mjtsai My test-runner has a -a flag that does -[NSApplication sharedApplication], *seems* to take care of most issues.@danielpunkass0 replies 0 retweets 0 likes
@mpweiher @danielpunkass Interesting. I had tried NSApplicationLoad(), which didn’t help. Will try this. Thanks.
3:33 AM - 12 Nov 2013
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Matt Drance
Daniel Jalkut
Michael Tsai
Marcel Weiher