title: how to write expected failures?
body: <p>In Xcode, at the end of my unit tests I get a result like this:</p>
  <blockquote>
  <p>Test Suite 'All tests' finished at 2012-12-06 10:23:38 +0000</p>
  <p>Executed 195 tests, with 0 failures (<strong>0 unexpected</strong>) in 4.314 (4.485) seconds</p>
  </blockquote>
  <p>I would love to find out how can I define tests with expected failures.</p>
  <p>Normally with other test frameworks I like being able to just define incomplete unit tests as reminders of future work that must be done. These tests should be logged only as warnings, but still yield a &quot;Success&quot; final result if everything else is OK</p>
  <p>Looking at the output of Xcode, I assume there is a way to achieve the same. However I am having problems finding the right macro to mark incomplete/TODO tests. Furthermore it seems strange to me that normal failures are reported as:</p>
  <blockquote>
  <p>Executed 95 tests, with 1 failure (0 unexpected) in 2.314 (2.334) seconds</p>
  </blockquote>
  <p>Hence, any test assertion failure seem to be expected. In that case I am even confused with the meaning of (0 unexpected) failures.</p>
  <p>Could anyone explain the meaning of that part of the log results?, how can it be used? how can I mark incomplete tests?</p>