summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--xt/10_backend.t23
1 files changed, 23 insertions, 0 deletions
diff --git a/xt/10_backend.t b/xt/10_backend.t
new file mode 100644
index 0000000..7210a76
--- /dev/null
+++ b/xt/10_backend.t
@@ -0,0 +1,23 @@
+use strict;
+use warnings;
+
+use Test::More;
+use Scope::Guard;
+
+BEGIN {
+    #plan skip_all => 'Please set KIOKU_COUCHDB_URI to a CouchDB instance URI' unless $ENV{KIOKU_COUCHDB_URI};
+    plan 'no_plan';
+}
+
+use ok 'KiokuDB';
+use ok 'KiokuDB::Backend::Memcachedb';
+
+use KiokuDB::Test;
+
+my $db = Cache::Memcached->new( { 'servers' => [ '127.0.0.1:21201' ] } );
+
+run_all_fixtures(
+    KiokuDB->new(
+        backend => KiokuDB::Backend::Memcachedb->new( db => $db, ),
+    )
+);