in reply to Development Directory Structure and Technique

Lately I've been taking a cue from Extreme Programming, and am writing tests cases for the functionality I'm about to implement. (The goal is to write test cases before code, but sometimes this isn't practical, and I have to grow the test cases along with the code.) I have a simple test harness that I'll write up later, and a number of test scripts or inputs, and "blesses" test outputs. (The harness generates outputs, and compares them with their "blessed" counterparts.) These all have to live somewhere, so I keep an additional directory in the hierarchy for them:
/appl/project/tests/
  • Comment on Re: Development Directory Structure and Technique

Replies are listed 'Best First'.
Re: Re: Development Directory Structure and Technique
by puck (Scribe) on Jan 04, 2001 at 04:20 UTC
    Excellant, this is something which I really should start to do. I just haven't wanted to learn how to use/write a framework for carrying out testing.

    If you could upload your harness that would be excellant. Just had a look on CPAN and there appear to be some testing frameworks there as well. I think I should start playing around with some. (Trying searching CPAN for test.)

    Cheers!

      I'm planning on doing a writeup on my test harness, and on making the code available. It just needs a teeny bit of cleanup to get it up to Monastery standards.