CPlusTestRig(1) BSD General Commands Manual CPlusTestRig(1)NAME
CPlusTestRig -- runs CPlusTest unit test bundles
SYNOPSIS
CPlusTestRig [-test testname] testbundle
DESCRIPTION
CPlusTestRig loads and runs the bundle testbundle containing unit tests built with the CPlusTest framework (/System/Library/Frameworks/CPlus-
Test.framework). If one or more [-test testname] pairs is specified only those tests (TestCase and TestSuite instances) in testbundle are
run. If no such pairs are specified, all TestCase and TestSuite instances are run as part of the default "All" test suite.
CPlusTestRig is intended for testing frameworks and libraries. That is, it must be possible for CPlusTestRig to load testbundle into its own
address space. To test applications, use RunUnitTests(1) instead.
To test a framework or library in a location other than the one recorded in testbundle at link time, use dyld(1) environment variables such
as DYLD_FRAMEWORK_PATH and DYLD_LIBRARY_PATH to ensure that the nonstandard location is searched.
ENVIRONMENT
CPlusTestDelayExit If this environment variable is present, CPlusTestRig will print its process ID to standard output and delay exit indefi-
nitely upon completion. This is useful for running leaks(1) or other debugging tools.
FILES
/Developer/Tools/CPlusTestRig
/System/Library/Frameworks/CPlusTest.framework
SEE ALSO dyld(1), leaks(1), RunUnitTests(1)Mac OS X June 2, 2019 Mac OS X
Check Out this Related Man Page
otest(1) BSD General Commands Manual otest(1)NAME
otest -- SenTestingKit, OCUnit.
SYNOPSIS
otest [-SenTest Self | All | None | <TestCaseClassName/testMethodName>] path
DESCRIPTION
otest runs the unit tests found in the bundle given at path.
ARGUMENTS -SenTest value This flag denotes the scope of the unit test to be run. Possible values are Self, All, None and <TestCaseClassName/test-
MethodName>. The default value is Self.
path Path to the bundle that contains the unit tests.
OBJECTIVE-C GARBAGE COLLECTION
otest is built with support for Objective-C garbage collection. Due to the "whole process" nature of Objective-C garbage collection, invok-
ing otest from the command line or an IDE or debugger will run otest with garbage collection enabled. Doing so requires that the bundle con-
taining the unit tests also be built with support for garbage collection.
To avoid this requirement and disable garbage collection, run otest 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 otest when running test bundles that do not use it.
FILES
/Developer/Tools/RunTargetUnitTests A script that calls otest with the correct arguments for use with Xcode.
SEE ALSO RunTargetUnitTests(1), otest(1)Xcode June 2, 2019 Xcode
Hi I want to shift to Mac OS X , I wanted to know whether there are any similar development tools like VS,asp.net,.net frameworks are available in Mac OS X or not? I mean how does one can compete with windows with the same results those of microsoft? Are there any extra software availble or where... (7 Replies)
i have a file (kk.log) in which following contents are there:
=====================================
Enter:YOU HAVE ENTERED : a
TestCase: TC1226677371 IS PASSED
2009-02-25 13:57:33.444 INFO com.t.t.exporterporter - Initialising Xml Exporter....
2009-02-25 13:57:33.445 INFO ... (2 Replies)
Hi all, my first post here. I'm trying to load hypermail on my Mac (Tiger 10.4.11). It seemed to install just fine, but when I run the test build I get this error:
dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib
Referenced from: /Users/sstark/Desktop/hypermail/tests/../src/hypermail... (4 Replies)