DBIx-Schema-Annotate

 view release on metacpan or  search on metacpan

t/Utils.pm  view on Meta::CPAN

use utf8;
use lib './t/lib';
use Test::More;

BEGIN {
  eval "use DBD::SQLite";
  plan skip_all => 'needs DBD::SQLite for testing' if $@;
}

sub import {
    strict->import;
    warnings->import;
    utf8->import;
}

sub setup_dbh {
    shift;
    my $file = shift || ':memory:';
    DBI->connect('dbi:SQLite:'.$file,'','',{
        RaiseError => 1,
        PrintError => 0,



( run in 0.529 second using v1.01-cache-2.11-cpan-299005ec8e3 )