Archive for April 9th, 2009

Xcode and Boost unit tests

Thursday, April 9th, 2009

Andreas sent me this link yesterday:

He has just configured our HMM framework with this.   It is really nice to have the unit tests integrated with the IDE.

I am still only very slowly getting used to working with an IDE.  I have used emacs and a terminal for my programming for 15 years and I never really saw the point of an IDE.  Then when I got a Mac, I figured I should give Xcode a try.  After all, it is just a shell on top of GCC, so I can recognize the error messages and such, so the change should be manageable.

All in all, I am growing to like Xcode.  I still use Automake to set up the build system, since I want my code to compile on Linux as well (I run most of my computations on a Linux grid), but I do my editing in Xcode exclusively now.

Until now I ran my unit tests in the terminal, but it is much nicer to run them from Xcode and get directed to the test violations.

99-121=-22