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.
  • Test first (Score:4, Insightful)

    by ziggy (25) on 2002.03.14 13:14 (#5916) Journal
    Ayup. Test-first rocks.

    I'm refactoring some hideous code that doesn't have any tests or requirements. It's gotten to the point where after about a day, I've got 500 or so tests for about 3 modules (mostly looping over m x n configurations). There were about half a dozen different errors that the tests found for me. It's interesting to see a cascade failure, because that helps narrow down exactly what broke. The smaller failures are quite precise at finding small misunderstanding between the code and reality.

    :-)