Mike - unit tests protect you against exactly this sort of thing.
There isn't really any other option or shortcut.

On 8/29/06, Mike Kear <[EMAIL PROTECTED]> wrote:
> I have quite a lot of CFCs now on  some of my sites, since I'm using
> OO techniques nearly exclusively nowdays.
>
> One of the problems I've discovered as I tinker around with methods is
> that every once in a while I'll change a method, only to find there is
> an unexpected consequence somewhere else, because the method I'm
> tinkering with is used somewhere on the site I've overlooked.
>
> Obviously every time a method is changed in any way, all the parts of
> the site that access that method need to be tested again, but making
> sure they're all tested is proving more and more tricky as the sites
> get bigger and more complex, or as time goes by and i forget how
> everything was hooked together.
>
> The only way i have found to discover where a particular method is
> used is to use a global text search over the site  for the text
> "methodname(" and hope that shows up all references to the method.
>
> Is this how the rest of you do this? or is there another way to do it?
>
> --
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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/CF-Talk/message.cfm/messageid:251344
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to