Does anyone have a simple example of coding and running an Objective-C unit test in
TextMate?

It appears that you can use XCode to add OCUnit tests to your project. I
thought I saw that you could then run unit tests from TextMate (via the
XCode bundle). But can you do it without using XCode at all?

I want to write a non-gui library, so I don't need XCode/IB. How do you write a
simple file that includes the right headers and defines an OCUnit test? Then
can that be called from TextMate?

Thanks