Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98204df

Browse files
author
Stewart Gleadow
committed
Added reference to radar
1 parentef0b9b5 commit98204df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎README.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ If the `XCODE_TEST_PATH` variable is missing, it aborts. If the unit test object
5252

5353
##Why XcodeTest exists
5454

55-
Apple differentiates between 'logic' unit tests and 'application' unit tests. Logic unit tests only depend on Foundation libraries that are common to both OS X and iOS and can run directly on your development machine. Logic tests run on the command line simply by specifying TEST_AFTER_BUILD=YES when running`xcodebuild`. Application unit tests depend on iOS frameworks, like UIKit, and must run in the context of a host app inside the iOS simulator. Running application tests on the command line is not supported by Apple. You used to be able to get it working by hacking the underlying shell script, which I[wrote up already](http://www.stewgleadow.com/blog/2012/02/09/running-ocunit-and-kiwi-tests-on-the-command-line/). However, it's flakey and doesn't run with the lastest beta versions of Xcode.
55+
Apple differentiates between 'logic' unit tests and 'application' unit tests. Logic unit tests only depend on Foundation libraries that are common to both OS X and iOS and can run directly on your development machine. Logic tests run on the command line simply by specifying TEST_AFTER_BUILD=YES when running`xcodebuild`. Application unit tests depend on iOS frameworks, like UIKit, and must run in the context of a host app inside the iOS simulator. Running application tests on the command line is not supported by Apple. You used to be able to get it working by hacking the underlying shell script, which I[wrote up already](http://www.stewgleadow.com/blog/2012/02/09/running-ocunit-and-kiwi-tests-on-the-command-line/).
56+
57+
However, these hacks are flakey and don't work with the lastest versions of Xcode. There is a radar for the[bug running command line unit tests](http://openradar.appspot.com/12306879). This tool should get you going in the mean time.
5658

5759

5860
##Feedback

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp