On 11/29/05, Brian Kotek <[EMAIL PROTECTED]> wrote: > Agreed, isn't the whole point of setUp() that it only be run once, when the > TestCase is instantiated? Or am I wrong and setUp() is, in other xUnit > frameworks, run prior to every test?
The sequence is: - for each test case CFC: -- instantiate the CFC -- call setUp() -- call each testXxx() method in turn -- call tearDown() So if your test case has multiple public testXxx() methods, they are all called in the same context - created by setUp(). Make sense? -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ---------------------------------------------------------- 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]
