@dinner: code coverage determines the percentage of your code that is
actually being unit tested.  For example, you could have a function in a
component that has a test case written for it, but the function could
contain if/elself/else statements, switch statements or other conditional
logic that the test case doesn't 'cover'.

a better explanation can be found here:
http://en.wikipedia.org/wiki/Code_coverage

As far as I know, there is no ColdFusion unit testing solution that supports
code coverage.  If I'm wrong someone please chime in!

- Christopher Vigliotti
Sr. ColdFusion Developer
AboutWeb
http://www.aboutweb.com

On 8/21/07, Dinner <[EMAIL PROTECTED]> wrote:
>
> On 8/20/07, Rich wrote:
> > Is anyone aware of a code coverage tool for CF unit tests?  If not, how
> are
> > the rest of you handling unit test coverage (if at all)?
>
> The CFUnit view in CFEclipse is cool, and there's also the TPTP
> JUnit auto-generated stuff, but honestly, selenium has been the
> most useful (for non-regression assertion (used most (by me))).
>
> I think most people are using ANT and CF[C]Unit (/most/ hehe).
>
> What do you mean by code coverage?
> __
> Don't remember what you can infer.
>                 -- Harry Tennant
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286675
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to