diff options
author | franck cuny <franck.cuny@rtgi.fr> | 2009-03-11 17:23:21 +0100 |
---|---|---|
committer | franck cuny <franck.cuny@rtgi.fr> | 2009-03-11 17:23:21 +0100 |
commit | 9f6dd73dac971011a71b425a49f7cb42d3fdb774 (patch) | |
tree | 2c22d55eb823ac7b52d5766178f7863c979bcd4f | |
parent | first commit (diff) | |
download | kiokudb-backend-memcachedb-9f6dd73dac971011a71b425a49f7cb42d3fdb774.tar.gz |
tests
-rw-r--r-- | xt/10_backend.t | 23 |
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, ), + ) +); |