Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • ... but completely bloody useless in my particular case. I mean, yes, the solution you mention is the right one. We're getting there *slowly*. There's a decade of cruft to clean out. Meanwhile, I don't want people thinking that testing is worthless because "they never pass anyway".
    --
    Kirrily "Skud" Robert perl@infotrope.net http://infotrope.net/
    • Frankly, this is part of the reason I try to keep all my web apps as CGIs and not using server-integrated web stuff like mod_perl until absolutely necesary.

      It makes testing a hell of a lot simpler.

      But back to Skud's case. Personally, I'm finding I'm using environment variables a hell of a lot more for giant testing sets (in my case, say 27000 tests in 80 scripts).

      That way I can factor out problems.

      For example, I want to be able to test as much of my app as possible, even without a working database setup.

      So
      • I guess my concern with this is that nobody would ever set TEST_WEB to true.

        *sigh*, it's a hard problem. And I recognise that Schwern's comments do indicate the Right Thing -- and certainly what we had at the last job where I got to dictate such things -- but unfortunately my current team didn't have such a thing in place before I started there and was getting away with it because the team was small. Suddenly the team doubles, the server starts groaning, and there's such a legacy of centralised development that moving to desktop development is a very very difficult process.

        Which we're starting on. But meanwhile I need to do something about these broken windows. Sigh.
        --
        Kirrily "Skud" Robert perl@infotrope.net http://infotrope.net/