• 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
Re: Compiling and linking unit tests without running them
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling and linking unit tests without running them


  • Subject: Re: Compiling and linking unit tests without running them
  • From: Pat McGee <email@hidden>
  • Date: Wed, 10 Sep 2008 12:09:03 -0400

Hi Sean,
   What follows us just my opinion.

I think you're asking the wrong question. A more productive question would be: Why do the unit tests take longer than 5 seconds for all of them?

Why do I say this? Well, the phrase "unit tests" means different things to different people. When in the context of "*Unit", it almost always means "a set of tests that run very quickly so I can run them every time I make any change at all to the code."

If you are using the phrase "unit tests" in a different way, then you probably want to use a different style of writing and running unit tests. This morning, Jeffrey Oleander described a framework for unit tests that sounds a lot more like what you're thinking of. Something like that sounds much more appropriate to the meaning I think you have for "unit tests".

Does this help?

Pat

On Sep 10, 2008, at 11:59 AM, Sean McBride wrote:

Hi all,

When one builds a unit test target, Xcode compiles, links, and runs the
tests. Is it possible to omit running the tests?


Let's say the tests take 1 hour to run.  While developing new tests, I
simply want to make sure things are compiling and linking.

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________ 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

-- "Save the Earth; it's the only planet with Chocolate!"

Pat McGee
email@hidden



_______________________________________________
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


References: 
 >Compiling and linking unit tests without running them (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Debugger fails to see a NSString object that NSLog can see & print.
  • Next by Date: Re: Compiling and linking unit tests without running them
  • Previous by thread: Compiling and linking unit tests without running them
  • Next by thread: Re: Compiling and linking unit tests without running them
  • Index(es):
    • Date
    • Thread