More info when tests fail
Tomas Doran [Sat, 8 May 2010 20:56:12 +0000 (20:56 +0000)]
Makefile.PL
t/00use.t [new file with mode: 0644]

index 96194b7..0cd2ff7 100644 (file)
@@ -14,6 +14,8 @@ requires 'Test::MockObject';
 requires 'URI::Escape';
 requires 'Class::Accessor::Fast';
 
+test_requires 'Test::More' => '0.88';
+
 author_requires 'Test::WWW::Mechanize::Catalyst' => '0.51';
 author_requires 'Test::Pod' => '1.14';
 author_requires 'Test::Spelling' => '0.11';
diff --git a/t/00use.t b/t/00use.t
new file mode 100644 (file)
index 0000000..e8d4137
--- /dev/null
+++ b/t/00use.t
@@ -0,0 +1,13 @@
+use strict;
+use warnings;
+use Test::More;
+
+use_ok 'Catalyst';
+diag 'Catalyst ' . $Catalyst::VERSION;
+use_ok 'Catalyst::Plugin::Authentication';
+diag 'Catalyst::Plugin::Authentication ' . $Catalyst::Plugin::Authentication::VERSION;
+use_ok 'Catalyst::Authentication::Credential::HTTP';
+diag 'Catalyst::Authentication::Credential::HTTP ' . $Catalyst::Authentication::Credential::HTTP::VERSION;
+
+done_testing;
+