CFUnit v2.0 Beta Release

View: New views
3 Messages — Rating Filter:   Alert me  

CFUnit v2.0 Beta Release

by Robert Blackburn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone, just posting to let you know that I've released a beta
version of CFUnit v2.0.

What's new in this release? Well, other then the usually bug fixes, I
have cleaned up the code a bit. Hopefully this will make it easier for
people to read the files and contribute, and therefore improve the
project in the long run. There is still a lot of work to do to get the
files truly clean and easy to read, but it's a step in the right
direction. I plan on adding the CFCDocs to the web site soon too,
which will also help with this.

This version has also been tested on BlueDragon (thanks to Greg
Stewart for the help there), so this version will be available to a
wider audience.

Also, the primary change is what I call "inline testing". This means
you can include a CFML module, and write the unit tests for a CFC...
right inside the CFC it is intended to test. This is intended to help
projects that are need to be portable, and would like to avoid extra
test CFCs. They can now place the tests right inside the CFC being
tested. This is also useful when writing a CFC which is just a proof
of concept or prototype – in which case you might not want to add the
extra unit test file to the overall project right away. You can now
write tests for those CFCs quickly and easily without the need to add
more files to the project. There is no documentation on this new
feature yet – but feel free to email me if you are interested in
exploring this. Documentation will be available prior to the final
release however.

This version is 100% backward compatible, so you should be able to
install it and not have to make any changes to your existing unit
tests.

There are a few other feature I aim to include in the final release
that did not make it into the beta version. But I wanted or get this
out there and see if I can get some feedback or suggestions, and
hopefully clear out any undetected bugs.

So if you are interested, please feel free to download the beta
version off the project website:
http://sourceforge.net/project/showfiles.php?group_id=145385

Thank You

--
Rob Blackburn
http://www.rbdev.net

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CFUnit/message.cfm/messageid:3189
Subscription: http://www.houseoffusion.com/groups/CFUnit/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.51

Re: CFUnit v2.0 Beta Release

by jer_ela :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I'm a big fan of cfunit. Attached are an automated runner template
for cfunit and associated application.cfm that I would like to
contribute to the project. Put it in a directory that has unit tests
below it and it will generate a list of all the tests in that dir and
its subdirs . Click on a link to a test and run that test. Click on the
link to a directory and run all tests below that dir. After you run the
test you get the results and the links back ready to run the next test.
Basically it generates a runner interface for all your unit tests in a
project.

SkorPiun wrote:

>Hi everyone, just posting to let you know that I've released a beta
>version of CFUnit v2.0.
>
>What's new in this release? Well, other then the usually bug fixes, I
>have cleaned up the code a bit. Hopefully this will make it easier for
>people to read the files and contribute, and therefore improve the
>project in the long run. There is still a lot of work to do to get the
>files truly clean and easy to read, but it's a step in the right
>direction. I plan on adding the CFCDocs to the web site soon too,
>which will also help with this.
>
>This version has also been tested on BlueDragon (thanks to Greg
>Stewart for the help there), so this version will be available to a
>wider audience.
>
>Also, the primary change is what I call "inline testing". This means
>you can include a CFML module, and write the unit tests for a CFC...
>right inside the CFC it is intended to test. This is intended to help
>projects that are need to be portable, and would like to avoid extra
>test CFCs. They can now place the tests right inside the CFC being
>tested. This is also useful when writing a CFC which is just a proof
>of concept or prototype – in which case you might not want to add the
>extra unit test file to the overall project right away. You can now
>write tests for those CFCs quickly and easily without the need to add
>more files to the project. There is no documentation on this new
>feature yet – but feel free to email me if you are interested in
>exploring this. Documentation will be available prior to the final
>release however.
>
>This version is 100% backward compatible, so you should be able to
>install it and not have to make any changes to your existing unit
>tests.
>
>There are a few other feature I aim to include in the final release
>that did not make it into the beta version. But I wanted or get this
>out there and see if I can get some feedback or suggestions, and
>hopefully clear out any undetected bugs.
>
>So if you are interested, please feel free to download the beta
>version off the project website:
>http://sourceforge.net/project/showfiles.php?group_id=145385
>
>Thank You
>
>  
>

<cfscript>
   projectName = "My Project"; // put the name of your project here so it show up in the display
   baseFilePath = "c:\inetPub\wwwroot\"; // put the file system path to the dir your mapping points to
   baseCfcPath = "\"; //should normally be \ but for some mappings could be something else
   unitTestNameRegex = "UT\.cfc"; // a regular expression that matches  the names of your unit test files
 
       
</cfscript>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CFUnit/message.cfm/messageid:3190
Subscription: http://www.houseoffusion.com/groups/CFUnit/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.51

RE: CFUnit v2.0 Beta Release

by Kev McCabe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I looked at CFUNIT a few years back, when I think it had issues using it
against MACH-II as it was built in MACH-II I think not sure too long ago :-)

But just wondered what the current state of play was with using CFUNIT with
a MACH-II Application?

-----Original Message-----
From: Jerry Ela [mailto:gela@...]
Sent: 17 September 2006 02:01
To: CFUnit
Subject: Re: CFUnit v2.0 Beta Release

Hi, I'm a big fan of cfunit. Attached are an automated runner template
for cfunit and associated application.cfm that I would like to
contribute to the project. Put it in a directory that has unit tests
below it and it will generate a list of all the tests in that dir and
its subdirs . Click on a link to a test and run that test. Click on the
link to a directory and run all tests below that dir. After you run the
test you get the results and the links back ready to run the next test.
Basically it generates a runner interface for all your unit tests in a
project.

SkorPiun wrote:

>Hi everyone, just posting to let you know that I've released a beta
>version of CFUnit v2.0.
>
>What's new in this release? Well, other then the usually bug fixes, I
>have cleaned up the code a bit. Hopefully this will make it easier for
>people to read the files and contribute, and therefore improve the
>project in the long run. There is still a lot of work to do to get the
>files truly clean and easy to read, but it's a step in the right
>direction. I plan on adding the CFCDocs to the web site soon too,
>which will also help with this.
>
>This version has also been tested on BlueDragon (thanks to Greg
>Stewart for the help there), so this version will be available to a
>wider audience.
>
>Also, the primary change is what I call "inline testing". This means
>you can include a CFML module, and write the unit tests for a CFC...
>right inside the CFC it is intended to test. This is intended to help
>projects that are need to be portable, and would like to avoid extra
>test CFCs. They can now place the tests right inside the CFC being
>tested. This is also useful when writing a CFC which is just a proof
>of concept or prototype - in which case you might not want to add the
>extra unit test file to the overall project right away. You can now
>write tests for those CFCs quickly and easily without the need to add
>more files to the project. There is no documentation on this new
>feature yet - but feel free to email me if you are interested in
>exploring this. Documentation will be available prior to the final
>release however.
>
>This version is 100% backward compatible, so you should be able to
>install it and not have to make any changes to your existing unit
>tests.
>
>There are a few other feature I aim to include in the final release
>that did not make it into the beta version. But I wanted or get this
>out there and see if I can get some feedback or suggestions, and
>hopefully clear out any undetected bugs.
>
>So if you are interested, please feel free to download the beta
>version off the project website:
>http://sourceforge.net/project/showfiles.php?group_id=145385
>
>Thank You
>
>  
>

<cfscript>
   projectName = "My Project"; // put the name of your project here so it
show up in the display
   baseFilePath = "c:\inetPub\wwwroot\"; // put the file system path to the
dir your mapping points to
   baseCfcPath = "\"; //should normally be \ but for some mappings could be
something else
   unitTestNameRegex = "UT\.cfc"; // a regular expression that matches  the
names of your unit test files
 
       
</cfscript>





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CFUnit/message.cfm/messageid:3269
Subscription: http://www.houseoffusion.com/groups/CFUnit/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.51