in reply to How to write code tests
Most CPAN modules have tests in either test.pl or the t/*.t files. Take a look at cpan.org: here are the tests for CGI.pm for example.
update: other links that might be of interest:
A Test::MockObject Illustrated Example
Unit Testing @ extremeperl.org
update2: also take a look at
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to write code tests
by adrianh (Chancellor) on Jun 02, 2005 at 07:58 UTC |