Test::DBIC::Versioned:MySQL - Subclass with specific methods for MySQL
version 0.02
The configuration hash to pass into Test::mysqld when creating a new empty database. By default it contains {'skip-networking' => 1} to disable network access to the test database.
The current my_cnf in the running database as it was when the database was created.
The Moose destructor. This is defined so that the test_db is cleanly stopped when it goes out of scope, and to avoid filling RAM and disc with unused databases.
Moose will call this automaticaly. It should not be called by users of this class.
As Documented in the superclass, Runs some SQL commands on the database.
NB: This method splits the SQL script into statements by splitting on semicolons. If there are semicolons in string literals (escaped or not) it will break.
To install Test::DBIC::Versioned, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::DBIC::Versioned
CPAN shell
perl -MCPAN -e shell install Test::DBIC::Versioned
For more information on module installation, please visit the detailed CPAN module installation guide.