Glad you found the code and got it working.  The final release will have some formatting stuff fixed, but in general it will be almost the same. As far as the remote stuff goes, that's kind of the idea I had. Basically I want to expose the functionality via SOAP webservices and flash remoting, but its on the back burner right now as far as MY time goes. I will probably revisit it eventually.

On 6/15/05, RADEMAKERS Tanguy <[EMAIL PROTECTED] > wrote:
Hello Paul,
 
I have downloaded the latest version from cvs and, on first sight, the new "MachII-less" cfcUnitRunner seems to work quite well (in that i can run the framework tests after uninstalling MachII) and the setup is a snap. My dev team and i thank you!
 
What's this interesting looking "cfcunitRemote" i see? I tried playing around with it but i didn't get very far. I'm assuming that it's something like jakarta cactus that allows you to run server side tests through a redirector (exposed, in this case, as a web service)?
 
/t
 


From: RADEMAKERS Tanguy
Sent: Tuesday, June 14, 2005 8:20 PM
To: 'CFCDev@cfczone.org'
Subject: RE: [CFCDev] (How) do you unit test your CFCs?

Jon, Paul,
 
Thanks for your replies. I wasn't aware of the version from the MM resource kit, will look into that. Likewise, the news that a new version of cfcUnit is imminent and that it will not require MachII is also interesting.
 
Regs,
/t


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Paul Kenney
Sent: Monday, June 13, 2005 9:01 PM
To: CFCDev@cfczone.org
Subject: Re: [CFCDev] (How) do you unit test your CFCs?

Don't let the 0.8.3 fool you.  It really is a 1.0 version without the label of 1.0.  My bad on that one. I am in the process of getting an updated version up and I will be calling that 1.0. It should be ready very soon. It will also include a non-MachII test runner.

On 6/13/05, Jon Gunnip <[EMAIL PROTECTED] > wrote:
I use a modified version of the test harness that came with one of the
Macromedia CF Development Resource Kits (4 or 5?).  I think it is
quite similar to cfcunit.

It is quite handy.  You extend a base TestCase cfc and define
functions that begin with the word "Test" and at the end of the
function you call a function in TestCase that determines whether the
test passed or failed (e.g. AssertTrue(Len(LastName) GT 0, "Last name
is zero-length).

You can your test CFC through the browser and you get nice output of
each test function and whether it passed or failed along with any
relevant error messages.  You group TestCase's together by extending a
TestSuite.cfc.

I have a large CFC-based survey app with a test case CFC for most of
the model components.  There are about 450 test functions in all.  It
takes about 3 minutes to run all of the functions, but it is a great
way to verify whether maintenance work broke existing code in the
model.

I looked at CFCUnit, but I alreay had my test system in place.  It
would be nice to see more activity on the project and for it to get
past version 0.8.3.

I highly recommend unit testing for large applications that will
undergo a lot of maintenance.  It has definitely saved me a lot of
time in maintenance (but probably more time up front).

Jon


On 6/13/05, RADEMAKERS Tanguy < [EMAIL PROTECTED]> wrote:
> I'm looking for a solution to unit test my CFCs. I found the cfcunit
> framework and installed it (eventually, but that's another story) but
> i'm not too thrilled about the dependency on Mach-II (we don't use the
> Mach-II framework so it's a big dependency for us). We currently work
> with a shared development server, but are moving towards having people
> develop more and more on their own machine and integrate on a shared
> server, so i am looking for the simplest possible solution in order to
> cut down on developer grumbling in terms of setup and installation of
> the testing framework.
>
> Do you guys unit test your CFCs? Do you use cfcunit or some other
> (perhaps homebrewed) solution? Anybody with a good war story to tell?
> Enquiring minds need to know!
>
> /t
>
>
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org 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).
>
> CFCDev is supported by New Atlanta, makers of BlueDragon
> http://www.newatlanta.com/products/bluedragon/index.cfm
>
> An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
>
>
>


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org 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).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org





--
Paul Kenney
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.pjk.us ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org 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).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org 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).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org



--
Paul Kenney
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.pjk.us ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org 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).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org

Reply via email to