|
|
Эта страница руководства является частью версии 5.0 Инструментов XCodeПолучить эти инструменты:
Если Вы выполняете версию Инструментов XCode кроме 5,0, просматриваете документацию локально:
Читать страницы руководстваСтраницы руководства предназначаются как справочник для людей, уже понимающих технологию.
|
xctest(1) BSD General Commands Manual xctest(1)
NAME
xctest -- XCTest, OCUnit.
SYNOPSIS
xctest [-test Self | All | None | <TestCaseClassName/testMethodName>] path
DESCRIPTION
xctest runs the unit tests found in the bundle given at path.
ARGUMENTS
-test value This flag denotes the scope of the unit test to be run. Possible values are Self, All,
None and <TestCaseClassName/testMethodName>. The default value is Self.
path Path to the bundle that contains the unit tests.
OBJECTIVE-C GARBAGE COLLECTION
xctest is built with support for Objective-C garbage collection. Due to the "whole process" nature of
Objective-C garbage collection, invoking xctest from the command line or an IDE or debugger will run
xctest with garbage collection enabled. Doing so requires that the bundle containing the unit tests
also be built with support for garbage collection.
To avoid this requirement and disable garbage collection, run xctest in an environment with the
OBJC_DISABLE_GC environment variable set to YES.
ENVIRONMENT
OBJC_DISABLE_GC Set to YES to disable Objective-C garbage collection for xctest when running test bun-dles bundles
dles that do not use it.
FILES
/Developer/Tools/RunTargetUnitTests A script that calls xctest with the correct arguments for use with
Xcode.
SEE ALSO
RunTargetUnitTests(1), xctest(1)
Xcode October 11, 2013 Xcode
|
Сообщение о проблемах
Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:
- Ошибки содержания
- Ошибки отчета в содержании этой документации со ссылками на отзыв ниже.
- Отчеты об ошибках
- Сообщите об ошибках в функциональности описанного инструмента или API через Генератор отчетов Ошибки.
- Форматирование проблем
- Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.