objective c - "Test After Build" option in XCode 4 not working -
objective c - "Test After Build" option in XCode 4 not working -
so, having bear of time figuring 1 out. have looked around, , cannot seem find info on this.
what want have unit tests run every time build code in xcode. have read number of posts, including this question here. have followed instructions letter, , build not run tests.
what have done:
my test suite target dependency of main build my main build has "test after build" set yes all of tests under "test" phase in scheme there, , checkedif run tests manually - through cmd+u or menu - tests run. have added failing test seek , forcefulness build fail - can sure running. build continues pass fine, , tests never run.
i positive have missed step in here, life of me cannot find documentation related it. have other advice or steps should doing?
it doesn't matter whether or not "test after build" set yes or no in something.app target. necessary set "test after build" yes in unit test target. create sure both "test" , "run" selected unit test target in scheme editor under "build" tab options. see results click on log navigator view > navigators > show log navigator (command 7).
objective-c unit-testing xcode4
Comments
Post a Comment