Unix news is nothing but opensourse - this site features general information about Linux/Unix/Perl programming language.
Sunday, May 04, 2008
Automating Testing with Test::More
Test::More normally expects to be told how many tests are in the 'dot-T' file in question. But as we are actively developing our test cases, we'll use the 'no_plan' directive let it know there is no count available. So on to writing an actual test case. Test::More provides a number of functions to test your modules public interface., the general form of which is method(, , "comment"),more...