NAME
Test::DB::Sqlite
ABSTRACT
Temporary Sqlite Database for Testing
SYNOPSIS
package main;
use Test::DB::Sqlite;
my $tdbi = Test::DB::Sqlite->new;
DESCRIPTION
This package provides methods for generating and destroying Sqlite databases for testing purposes.
INHERITS
This package inherits behaviors from:
INTEGRATES
This package integrates behaviors from:
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
database
database(Str)
This attribute is read-only, accepts (Str)
values, and is optional.
dbh
dbh(Object)
This attribute is read-only, accepts (Object)
values, and is optional.
dsn
dsn(Str)
This attribute is read-only, accepts (Str)
values, and is optional.
file
file(Str)
This attribute is read-only, accepts (Str)
values, and is optional.
METHODS
This package implements the following methods:
create
create() : Object
The create method creates a temporary database and returns the invocant.
destroy
destroy() : Object
The destroy method destroys (drops) the database and returns the invocant.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".