On 22 Feb 2010, at 21:19, Jason Coffin wrote:
[...] I know Allan and company development Textmate using Cmake instead of Xcode.
I have since retired CMake and made my own build system which generates Makefiles (so effectively I am using Make, but with majority of the Makefiles being auto-generated as needed).
I can’t emphasize how much I love this system as I practically never need to do anything besides adding/removing files/folders, occasionally add some very light-weight “project files” — but this is my system made for me, and I went through many iterations to find my dream setup, so for most I would just echo Gerd’s advice of going with Xcode.
I'm wondering how to run unit tests this way. Every OCUnit app tutorial I see assumes you are using Xcode. Anyone know how to set up unit tests manually via the command line?
I personally use http://github.com/sorbits/CxxTest (my fork) — I did a “unix runner” so that it is silent unless there is an error, and if there is an error, the runner exists with a non-zero exit code.
This works great with Makefiles (so rake as well, I assume). But while it can be used with Objective-C, it probably mostly is for C++ (e.g. you would need to write traits to pretty print the Objective-C objects used in assertions).
Sorry I couldn’t be of more help…