Re: Unit testing framework suggestions?
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