It seems like this question comes up more and more often. Unit tests are all
well and good but until you have some sort of empirical evidence that the
majority of the code is tested how confident can one be in unit/integration
testing. That being said I'd rather not get into the 100% code coverage
doesn't mean you application is bug free debate. As far as I know there is
no code coverage tools for ColdFusion but I sure would love to see one. I'd
even help make one, if anyone else has interest working on this I'd be
interested in starting to talk about it in more detail.

Adam


On 10/30/07, Sam Larbi <[EMAIL PROTECTED]> wrote:
>
> I've been wanting to make a code coverage analysis tool for CF for a
> little while now.  I don't know how possible it was before, but if there is
> a way to hook into the debugger I would think we can do it now.
>
> If not, we'd likely have to build an entire cf engine.  Or, I guess if we
> could write the unit testing frameworks in such a way that they inject
> harmless code into the code they are testing to track which branches get run
> ... and so forth.
>
> To my knowledge though, there isn't such a thing yet.
>
>
>
> On 10/29/07, Barry Beattie <[EMAIL PROTECTED] > wrote:
> >
> >
> > I had a chance to use code coverage tools for Java in conjunction with
> > unit testing - hadn't used them before and I was impressed with the
> > concept.
> >
> > it was especially good for seeing what code didn't run with the unit
> > tests (showing holes in the tests themselves).
> >
> > I *could* sit there going line-by-line thru the new debugger or litter
> > the code with logging traces - but seeing (easily) what code ran with
> > the unit tests and what didn't was quite cool.
> >
> > I may be out of luck with the runtime nature of CF verses the
> > compiling of Java code. but i'm still curious...
> >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to