Tim Harsch wrote: > > I am writing perl software that I would like validate against a test > suite. I kind of like the Perl method of 'make test' I've seen in so > many modules. If any of you know a tutorial or have a trival test suite > I can expand upon I would be eternally grateful.
My all time favorite is the one from DBIx::AnyDBD. Here it is in full :-) print "1..2\n"; require DBIx::AnyDBD; print "ok 1\n"; print "ok 2\n"; But seriously, you can put any script that prints "ok" on success and dies on failure and nmake test will run it. To see a really complete basis for further tests using Test::Harness, see Jochen's t/* in the DBD::CSV distribution. It even includes a POD on making tests. -- Jeff
