I've also made some modifications to CFUnit.  It works great for
testing my Model layer which is written in CFC's.  I've got about 40
Tests running about 10 test functions each.  It is nice to open a web
page and see whether the recent changes you made have broken your
Model!

I added support for TestSuites to include other TestSuites as well as
individual Tests.  I also added some GetTickCount()'s to report the
execution time that each test function (as well as Test/TestSuite
execution times).

I would love to share my code, but because it is *highly* based on code
from the code in the DRK03 (which we purchased), I'm not sure if I am
prohibited from sharing my code.  Does anyone know?

By the way, the Mach-II/JUnit implementation for CFC's sounds great!
One complaint about cfunit is that the way it is written makes it
difficult to configure (and extend) the display of test results.  Hence,
the display code I've added on is a tad messy.  I would like to see an
elegant implementation that allows one to easily configure and extend
the display of test results.

Jon

>CFUnit is really handy and works similarly to JUnit. I have been
using
>it for a while now although I did added some additional assertions
for
>Query, Structure, Array and Component comparisons.
>
>Qasim
>
>-----Original Message-----
>From: Chris Jensen [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 18, 2004 9:31 PM
>To: CF-Talk
>Subject: JUnit with Cold Fusion
>
>
>Hi,
>I've been looking into getting into better testing practices with cold

>fusion development.
>I was looking into tools to support this, and while not actually a
cold
>fusion tool - JUnit (and some supporting projects for it) seems to be

>the best option by far, so I was thinking of trying to get it working
in
>
>CFMX.
>
>Has anyone else tried this and found any pitfalls?
>Or, does anyone know of some good native Cold Fusion tools that can
>provide the same thing?
>
>--
>  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to