• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unit Tests Always Succeeding (And Not in the Good Way)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unit Tests Always Succeeding (And Not in the Good Way)


  • Subject: Unit Tests Always Succeeding (And Not in the Good Way)
  • From: Jeff Kelley <email@hidden>
  • Date: Wed, 05 Sep 2012 20:53:30 -0400

Hello all,

	My apologies if this has been discussed before—I searched my archives, but it’s possible I missed something. I’m using Xcode 4.4.1 on OS X 10.8.1, and I can’t get unit tests to fail when trying to test my iOS static library project. Even with the stock template test that looks like so:

> - (void)testExample
> {
>     STFail(@"Unit tests are not implemented yet in AmazeKitTests");
> }

	Every time I hit ⌘U to test, the “Test Succeeded” pop-up appears, though the failure is marked in Xcode’s Issue Navigator. I can reproduce this by creating a new static library project in Xcode with tests and hitting ⌘U. Is anyone else seeing this? I’ll submit a Radar after this e-mail either way, but if anyone has a workaround that would be spectacular.

Jeff Kelley


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Unit Tests Always Succeeding (And Not in the Good Way)
      • From: Aaron Montgomery <email@hidden>
  • Prev by Date: Re: Where are things like HEADER_SEARCH_PATHS_QUOTED_FOR_PROJECT ?
  • Next by Date: Re: Unit Tests Always Succeeding (And Not in the Good Way)
  • Previous by thread: Re: Where are things like HEADER_SEARCH_PATHS_QUOTED_FOR_PROJECT ?
  • Next by thread: Re: Unit Tests Always Succeeding (And Not in the Good Way)
  • Index(es):
    • Date
    • Thread