• 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: Unit testing framework suggestions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit testing framework suggestions?


  • Subject: Re: Unit testing framework suggestions?
  • From: Marcel Weiher <email@hidden>
  • Date: Mon, 27 Sep 2004 00:52:54 +0100


On 27 Sep 2004, at 00:33, Georg Tuparev wrote:


On Sep 27, 2004, at 1:20 AM, Marcel Weiher wrote:

In our testing framework, we create an instance of the tested class for every single test method.

You do? Automatically by the test framework? I tend to leave this up to the test method in question (which will be a class method of the class under test unless you configure it differently).

TSTTCPW as usual. Most of the time our default behavior is all we need. For the exceptions we override the setUp method...

Hmm...I have to say I don't see how this is simple. It is very automatic and convenient, but not exactly simple. How does the unit test framework know what message to send to get an instance of a class? +new?


I am guessing you have a convention, and am intrigued to hear that you say it is working well.

Cheers,

Marcel


-- Marcel Weiher Metaobject Software Technologies email@hidden www.metaobject.com Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc. 1d480c25f397c4786386135f8e8938e4

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


References: 
 >Re: Unit testing framework suggestions? (From: Tim Hart <email@hidden>)
 >Re: Unit testing framework suggestions? (From: "M. Uli Kusterer" <email@hidden>)
 >Re: Unit testing framework suggestions? (From: Marco Scheurer <email@hidden>)
 >Re: Unit testing framework suggestions? (From: Georg Tuparev <email@hidden>)
 >Re: Unit testing framework suggestions? (From: Marcel Weiher <email@hidden>)
 >Re: Unit testing framework suggestions? (From: Georg Tuparev <email@hidden>)

  • Prev by Date: Re: Unit testing framework suggestions?
  • Next by Date: NSTextField Lines
  • Previous by thread: Re: Unit testing framework suggestions?
  • Next by thread: Re: Unit testing framework suggestions?
  • Index(es):
    • Date
    • Thread