Permalink
Browse files

added a basic test

git-svn-id: file:///root/var/svn/trunk/Flickr-Test@411 2ccee060-bf41-0410-b5a3-d28fdbd3ea41
  • Loading branch information...
1 parent 666ff1d commit 274a3fb0a15f39ac853204577c5eb26dd2784777 @iamcal committed Aug 12, 2008
Showing with 17 additions and 0 deletions.
  1. +1 −0 MANIFEST
  2. +16 −0 t/01-simple.t
View
@@ -5,3 +5,4 @@ Build.pl
example.php.t
README
MANIFEST
+t/01-simple.t
View
@@ -0,0 +1,16 @@
+use Test::More;
+
+BEGIN {
+ @::modules = (
+ 'Flickr::Test',
+ 'Flickr::Test::Straps',
+ );
+
+ plan tests => 3 * scalar @::modules;
+
+ use_ok( $_ ) for @::modules;
+}
+
+require_ok( $_ ) for @::modules;
+
+isa_ok(eval "$_->new();", $_) for @::modules;

0 comments on commit 274a3fb

Please sign in to comment.