title: Xcode5 cmd-line tests - simulator, device, and OSX
body: <p>Xcode5 includes better support for cmd-line tests. For example, I can run iOS tests with the following: </p>
  
  <p><strong>Simulator Tests</strong></p>
  
  <pre><code>xcodebuild -workspace ${module.name}.xcworkspace test -scheme ${module.name} -destination OS=7.0,name=iPhone -destination-timeout=10 -configuration Debug
  </code></pre>
  
  <p><strong>Device Tests</strong></p>
  
  <p>And it is now possible to execute tests on the actual device hardware by specifying the device's name: </p>
  
  <pre><code>xcodebuild -workspace ${module.name}.xcworkspace test -scheme ${module.name} -destination id=${device.name} -destination-timeout=10 -configuration Debug
  </code></pre>
  
  <p><strong>OSX Tests</strong></p>
  
  <p>What is the correct cmd-line for executing OSX tests? </p>