I didn't know there was a CFUnit. I'll have to take a peek.

We've incorporated Paul's CFCUnit into our QA and use it extensively. Writing tests is seriously boring if done in isolation, after the initial project coding. I have found it far more beneficial to write the tests before or during build. It might be just me but I find it forces my attention on results and I end up with something pretty much bang on spec.

I would argue that all projects should have some degree of unit testing. Even small applications have a set of core modules that are used everywhere and should be thoroughly tested.

Inactive? I think Paul's port is exceedingly stable. I only remember one patch coming through for string comparisons and that's it.

Documentation? Like other projects the docs are sparse but then CFCunit is a build of junit of which there are stacks of books and online guides. Very, very useful and applicable to go through those. There are many cool things you can customise painlessly such as per project setup, teardown.

Gripes? Documentation, difficult to get into initially.

I like CFCUnit but my final point, in case it wasn't obvious... do the unit testing! You wont go back.

Angus

On 01/11/05, John Paul Ashenfelter <[EMAIL PROTECTED]> wrote:
Folks,

What's the current consensus (or at least your own opinion) on CFUnit
vs. CFCUnit. I'm quite familiar with JUnit and it's xUnit friends, but
have not had the occasion to use either CF tool. I'm trying both out
on a CFC-oriented project and will happily report back, but any war
stories would be appreciated.

It's especially hard to figure out which one's best supported by the
community since one (CFCUnit) has been inactive for over a year and
the other (CFUnit) seems much newer and less comprehensive -- though
that's purely from the docs and a quick check of the code -- I'll know
about it in practice soon enough :)

--
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]


----------------------------------------------------------
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]



----------------------------------------------------------
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