Thanks Patrick.  Well, that answers that question and validates Paul's
position on cfcUnit ...  the test class is instantiated for each test and
any 'global' settings should be put in the setUp() and tearDown() methods.

Now, any thoughts, ideas, suggestions on the actual test itself ... i.e. how
to actually test the DAO?

Thanks
-- Jeff 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Patrick McElhaney
Sent: Wednesday, November 30, 2005 7:44 AM
To: [email protected]
Subject: Re: [CFCDev] Unit Test for DAO

Folks,

Most of these questions posed in thare answered on the JUnit FAQ.

"The JUnit framework automatically invokes the setUp() method before each
test is run and the tearDown() method after each test is run."

http://junit.sourceforge.net/doc/faq/faq.htm#tests_2


"[JUnit] executes each test within a separate instance of the test class."

http://junit.sourceforge.net/doc/faq/faq.htm#tests_12




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to