[Catalyst-commits] r10627 -
Catalyst-Devel/1.00/branches/helper_refactor/t
dhoss at dev.catalyst.perl.org
dhoss at dev.catalyst.perl.org
Tue Jun 23 20:11:08 GMT 2009
Author: dhoss
Date: 2009-06-23 20:11:08 +0000 (Tue, 23 Jun 2009)
New Revision: 10627
Modified:
Catalyst-Devel/1.00/branches/helper_refactor/t/generated_app.t
Log:
added test to check to see if our generated app passes tests
need to fix so that prove -l t/ finds the correct stuff in @INC, or
correct stuff is *put* into @INC. Whatever.
Modified: Catalyst-Devel/1.00/branches/helper_refactor/t/generated_app.t
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/t/generated_app.t 2009-06-23 19:54:38 UTC (rev 10626)
+++ Catalyst-Devel/1.00/branches/helper_refactor/t/generated_app.t 2009-06-23 20:11:08 UTC (rev 10627)
@@ -43,9 +43,17 @@
script/testapp_create.pl
|;
-plan 'tests' => scalar @files;
+plan 'tests' => scalar @files + 3;
foreach my $fn (@files) {
ok -r $fn, "Have $fn in generated app";
}
+## Makefile stuff
+my $makefile_status = `$^X Makefile.PL`;
+ok $makefile_status, "Makefile ran okay";
+ok -e "Makefile", "Makefile exists";
+my $newapp_test_status = `prove -l t/`;
+ok $newapp_test_status, "Tests ran okay";
+#is $newapp_test_status, ;
+
More information about the Catalyst-commits
mailing list