title: What conditions enable the Xcode 4 "Product > Test" menu option?
body: <p>It's not entirely clear what enables the "Test" option for a product in Xcode 4. It is enabled when you create a new project with an associated <code>.octest</code> target.</p>
  
  <p>Is there a flag or an option to link a particular target as a test of another? The reference material only seems to talk about making tests when they are working, not getting them working in the first place.</p>
  
  <p>What I'm trying to do is use a non-Objective-C test framework, in this case <a href="http://www.levelofindirection.com/journal/2010/12/28/unit-testing-in-c-and-objective-c-just-got-easier.html" rel="nofollow">Catch</a>, for testing a cross-platform C++ application. Objective-C, with the associated Foundation library, is not available on the target.</p>