NAME
Test::WithDB::SQLite - A subclass of Test::WithDB that provide defaults for SQLite
VERSION
This document describes version 0.100 of Test::WithDB::SQLite (from Perl distribution Test-WithDB), released on 2018-05-10.
SYNOPSIS
In your test file:
use Test::More;
use Test::WithDB::SQLite;
my $twdb = Test::WithDB::SQLite->new;
my $dbh = $twdb->create_db; # create db with random name
# do stuffs with dbh
my $dbh2 = $twdb->create_db; # create another db
# do more stuffs
$twdb->done; # will drop all created databases, unless tests are not passing
DESCRIPTION
This subclass of Test::WithDB creates a convenience for use with SQLite. Config file is not required, and by default SQLite databases will be created in a temporary directory.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Test-WithDB.
SOURCE
Source repository is at https://github.com/perlancar/perl-Test-WithDB.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Test-WithDB
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
SEE ALSO
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018, 2017, 2016, 2015, 2014 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.