objective c - XCode 5 unit testing: starts my app -
when run tests in xcode 5, main window of os x app appears on screen couple of seconds while running tests. why? if uncomment tests still opens main window.
you running application test, not logic test. means instance of app started , run unit tests. allow perform integration test require app running.
here guide setup application test , logic test.
if want change logic test (so run faster , don't need start app first):
- go build settings unit test target
- search
bundle
- remove bundle loader , test host
Comments
Post a Comment