May 26, 2018
Module to create temporary database from a DBIx::Class::Schema
The Perl 5 module DBICxTestDatabase creates a temporary SQLite database, deploys your DBIC schema, and then connects to it. This lets you easily test your DBIC schema. Since you have a fresh database for every test, you don’t have to worry about cleaning up after your tests, ordering of tests affecting failure, etc.