I now am about half way to finishing something to give me a daily build report on all of Perl projects. I run the script and get output like this excerpt
/Users/brian/Dev/Apache/HelloWorld ... Found no test files! Skipping.
/Users/brian/Dev/Apache/iTunes... Prerequisites not found! Skipping.
/Users/brian/Dev/Business/ISBN... No tests failed
/Users/brian/Dev/HTTP/Cookies/Safari... 7/7 ( 100.0% ) failed
/Users/brian/Dev/MacOSX/iTunes... Could not even run tests.
/Users/brian/Dev/Netscape/Bookmarks/Alias... Found no test files! Skipping.
It still has a couple of problems. The "Found no tests" really means the script didn't look very hard, and I want to add a summary report at the end for super-project stats (like, how many tests in all projects failed?).
It also has verbose output
/Users/brian/Dev/Apache/HelloWorld ...
Found no test files! Skipping.
/Users/brian/Dev/Apache/iTunes...
Prerequisites not found! Skipping.
Mac::iTunes
/Users/brian/Dev/HTTP/Cookies/Omniweb...
Found tests ==> t/compile.t t/pod.t t/prereq.t t/load.t t/save.t
Testing ==>
No tests failed
/Users/brian/Dev/HTTP/Cookies/Safari...
Found tests ==> t/compile.t t/load.t t/save.t
Testing ==>
7/7 ( 100.0% ) failed
t/save.t failed 2/2 ( 200% )
t/load.t failed 5/5 ( 200% )
/Users/brian/Dev/weblint++...
Prerequisites not found! Skipping.
Test::File
/Users/brian/Dev/YAPJ/database/TPR...
Prerequisites not found! Skipping.
DBI
-------------------------------------------------------------------------
Missing modules
DBI
Mac::iTunes
Test::File
My daily build report 0 Comments More | Login | Reply /