in reply to Automatic Test Pattern Generation in Perl

spurl would it be possible for you to clarify your question a bit? Are you asking about:

ATPG?
Which I still think is a hardware only term (pattern - referring to pattern of voltages to pins AFAIK). If you're come across it used as a term to describe software testing any references would be appreciated
Generating tests algorithmically?
Which is a well accepted technique. Take a look at the number tests in Regexp::Common for some examples. You need a way of generating possible values and a mechanism (sometimes called an "oracle") that lets you know whether the test should pass or not.
Having automatic rather than manual tests?
In which case you should take a look at Test::Tutorial, Test::More and friends in the Perl world.

If you want to learn more about software testing in general I'd recommend Kent Beck's Test Driven Development and Cem Kaner & James Bach's Lessons Learned in Software Testing: a Context-driven Approach.

  • Comment on Re: Automatic Test Pattern Generation in Perl

Replies are listed 'Best First'.
Re: Re: Automatic Test Pattern Generation in Perl
by spurperl (Priest) on Jul 25, 2003 at 08:35 UTC
    Patterns = test vectors for hardware, yes. But not in the electrical sense - in the simulation sense. Instead of supplying manually various inputs to a model under test, use a script that supplies it with vectors, and tests for correct values at the outputs.

      Ah, so when you said "software" in your OP you were referring to hardware models - sorry misinterpreted.