in reply to How do you test end-user scripts?
When its done, look in the Cwd for smallprof.out.perl -d:SmallProf test.pl
#!/usr/bin/perl use strict; use warnings; use Test::Script; use Test::More tests => 2; script_compiles( 'blib/script/test.pl', 'Main script compiles' ); script_runs( 'blib/script/test.pl', 'Main script runs' );
|
---|