I'm working on a plugin for some drafting software. The plugin takes the form of a dynamically loaded mach-o bundle.

The software vendor provides a template plugin in the form of an XCode project.

The whole thing is written in C++, but XCode doesn't seem to support C++ in it's testing bundle targets.

Tests could be written in Objective-C that include the C++ code, but that's not a great solution.

Another option would be to create another executable target that runs it's own bunch of tests.

What have others done in this situation?

What's the best way to write unit tests in XCode when using C++?

Related posts

Recent Viewed