How to find out which methods are in use?

2006-08-29 Thread Mike Kear
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,

Re: How to find out which methods are in use?

2006-08-29 Thread Mark Stanton
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

Re: How to find out which methods are in use?

2006-08-29 Thread James Holmes
You might need to look into unit testing, with something like CFUnit. 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

Re: How to find out which methods are in use?

2006-08-29 Thread Neil Middleton
documentation. On 8/29/06, James Holmes [EMAIL PROTECTED] wrote: You might need to look into unit testing, with something like CFUnit. 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

Re: How to find out which methods are in use?

2006-08-29 Thread James Holmes
Yes, good documentation also helps. This also reminded me of another tactic to use in conjunction with the others; you could use Coldspring to explicitly state the relationships between these CFCs so you don't get caught out so easily: http://www.coldspringframework.org/ On 8/29/06, Neil