Query: kiokudb::test
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KiokuDB::Test(3pm) User Contributed Perl Documentation KiokuDB::Test(3pm)NAMEKiokuDB::Test - Reusable tests for KiokuDB backend authors.SYNOPSISuse Test::More; use KiokuDB::Test; use ok "KiokuDB::Backend::MySpecialBackend"; my $b = KiokuDB::Backend::MySpecialBackend->new( ... ); run_all_fixtures( KiokuDB->new( backend => $b ) ); done_testing();DESCRIPTIONThis module loads and runs KiokuDB::Test::Fixtures against a KiokuDB directory instance.EXPORTSrun_all_fixtures $dir run_all_fixtures sub { return $dir } Runs all the KiokuDB::Test::Fixture objects against your dir. If you need a new instance of KiokuDB for every fixture, pass in a code reference. This will load all the modules in the KiokuDB::Test::Fixture namespace, and run them against your directory. Fixtures generally check for backend roles and skip unless the backend supports that set of features. perl v5.12.4 2010-10-11 KiokuDB::Test(3pm)