Are you sure it was actually picking up your application.cfm before,
and not the one that was recently deleted?
--heh, never mind, Marc covered it.
I'll go ahead and add the obligatory "you should not rely on scopes,
such as application or session, in your components" type of comment.
This bit me the other day. I cannot recommend other solutions, such
as mock objects, enough. Wish I was smart enough to get more into
them earlier. :)
Huge, *huge* part of "unit" testing right there. Tho I'm happy for
tests of any sort, evil web or no. :)
--
There are two main strategies we can adopt to improve the quality of
life. The first is to try making external conditions match our goals.
The second is to change how we experience external conditions to make
them fit our goals better.
Mihaly Csikszentmihalyi
I'm in the midst of untangling over a decade of crappy code writing
(by me, almost solely) at the moment-- so the new devs at least have a
chance of avoiding horrible catatonic states (at least caused by my
old code). I'm sure they'll have plenty of their own to deal with,
given time. :)
Pushing unit tests and what have you pretty hard, trying to pass on
what I've learned*, yadda yadda.
*the hard way
I figure, I'll do what I can, and hopefully it's a kind, loving, and
understanding maker I meet. =)
You cheered me up-- If a master such as yourself isn't perfect, I
don't wanna be either. :)
Gracias, marc!
--
If we cannot live so as to be happy, let us least live so as to deserve it.
Immanuel Hermann Fichte
The rough part is that I'd been tacking on tests, which were really
helpful, but upon major refactoring-- wow. Those were some sucky
tests!
It was like, a test that was mostly for one component, was really
testing 10 others. I knew I was doing that while writing them, to
some extent, but damn. heh.
One of those times where you wish you knew then what you know now, I
guess. But: I'd do it again, so I dunno. See:
I have a contract of sorts, with these tests, and just having to think
about the stuff made it better, and thinking about it again later,
heck, even better.
And shucks, if I'd skipped 'em altogether, that would have *really*
sucked. Yup. Better to do what you can with what you got, and live
to fight another day. Assuming you can always die later, of course.
=)
Practical testing... or pragmatic, perhaps... hrm... I like the sound of that.
Good way of thinking, man. The non-best practice-ish features have
saved me a ton of time, even if sometimes it's cutting corners. I'll
take the bad with the good. Or good with the bad. However that goes.
Heh. I'm rambling. But I feel motivated. This round of tests will be
the best yet!
Yeah! YEAH! <bangs head into monitor a couple times to psyche up>
:den
--
My grandfather once told me that there were two kinds of people: those
who do the work and those who take the credit. He told me to try to be
in the first group; there was much less competition.
Indira Gandhi