Perl and C# Unit Test Examples
I'm trying to find nice simple examples of Perl unit tests for testing some existing modules that I've deleoped and not written unit tests for yet, but I can't find any examples in the Test::Unit download that I can understand how it's decising what to test.
You can find an assortment of test suites here.
Forgot the link - sorry http://www.xprogramming.com/software.htm
Thanks for the link; I'm still confused about the Perl Test::Unit I've downloaded though. I'm just trying to do something like:
For my C# unit tests I use Nunit: http://nunit.org/
If it's confusing you, you can always just do it yourself.
Brent P. Newhall
Test::Unit work ok but it's far from the most used testing suite in Perl. Take a look at Test::More, which makes setting up and running tests a breeze. See chromatic's intro to testing , although keep in mind that it was written in Dec 2001 when you read comments about Test::More being new.
Fog Creek Home