4

I've written some ObjC unit tests for use with the OCUnit support in Xcode. Now I would like to do the same for some of the C++ code I'm about to write (a separate static library).

Is there any support for e.g. CppUnit (or some other C++ test framework) in Xcode? When I write support, I mean I want to run the tests and display the results in the Xcode GUI.

1 Answer 1

1

Have you looked at Google C++ Testing Framework? That one should be pretty portable.

Sign up to request clarification or add additional context in comments.

1 Comment

That is a good tip. I settled for ctest, mostly because I'm using cmake, and this supports the Google testing framework quite nicely.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.