9739d5eecb
DBICx::TestDatabase creates a temporary SQLite database, deploys your DBIC schema, and then connects to it. This lets you easily test your 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.
6 lines
299 B
Plaintext
6 lines
299 B
Plaintext
DBICx::TestDatabase creates a temporary SQLite database, deploys your
|
|
DBIC schema, and then connects to it. This lets you easily test your
|
|
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.
|