Here are pointers to the updated articles:
- Xcode: Unit Testing Cocoa frameworks
- Xcode: Debugging Cocoa Framework Unit Tests
- Xcode: Unit Testing Cocoa Applications
- Xcode: Debugging Cocoa application unit tests
The most significant change is in debugging Cocoa application unit tests. There's an extra environment variable you'll need to add to your executable,
DYLD_FALLBACK_FRAMEWORK_PATH, before you'll be able to debug it with Xcode 3.0. This is necessary because Xcode takes advantage of a new linker feature — runpath-relative install names — in order to support moving and renaming your Developer folder and having multiple versions of Xcode installed.
2008-03-17 08:16 pm (UTC)
(btw, can I add in linkedin? :)
architecture pain
(Anonymous)
2008-06-13 11:58 am (UTC)
I have some tests that are to be run from the sen testing script. I also run them from a main function on a target for debugging. When runned from the target every thing runs fine. When running from the script I get errors from tests that compare bytes read from a file. Looks like the test framework is assuming something 32 bit. I then set all the variables (ARCH, VALID_ARCHS, NATIVE_ARCH_ACTUAL) to the value x86_64, but the result is the same.
Do you have any idea to what might be happening ?
Re: architecture pain
2008-06-13 04:23 pm (UTC)
thank you
(Anonymous)
2008-09-28 11:58 am (UTC)
Trapping SenTestingKit messages/events with NSNotificationCenter
2008-11-12 11:35 am (UTC)
I posted this question (http://stackoverflow.com/questions/2476
I want to reformat the messages emitted when tests pass/fail so I can integrate OCUnit with my continuous integration system. At the moment I'm just parsing the output from RunUnitTests with a perl script but I figure that there has got to be a better way.
Regards
Selecting the tests to run
(Anonymous)
2009-03-28 10:40 pm (UTC)
Often, when running test cases and debugging them, I need to concentrate on just one. Is there any way of specifying the tests to be run ?
I currently use bundle injection and specify -SenTest All for running the script. What do I say instead of all ?