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):

  1. go build settings unit test target
  2. search bundle
  3. remove bundle loader , test host

enter image description here


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -