C++ unit testing in Xcode
C++ unit testing in Xcode
- Subject: C++ unit testing in Xcode
- From: Sean Houghton <email@hidden>
- Date: Sun, 6 Mar 2005 19:15:57 -0800
I've been using the boost test framework to do all my unit testing.
My project contains a static library target and an application target
that contains all the tests and depends on the library. The test
application has a custom build stage which simply runs the test after
being built.
When a test fails Xcode detects the failure in the custom build stage
but doesn't tell me about it. I have to look in the detailed build
results, find the failure, manually open the file and go to the line
that failed.
VS.NET is kind enough to parse the output of any custom build tool for
warnings and errors so you can double click them and get right to the
problem. It even put them into the task list for you.
I've seen a few OC testing tools for Xcode that appear to add test
failures to the "Errors and Warnings" list in Xcode. Can I populate
this list from a shell script or AppleScript? Is anyone else using
C++ and unit tests with Xcode?
--
Sean Houghton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden