NAME
run_backend_tests.pl - Run Yancy tests with a configured backend
SYNOPSIS
# Run all tests for all backends
./share/run_backend_tests.pl
# Run all tests for one or more backends
./share/run_backend_tests.pl <backend>...
# Run one or more tests for all backends
./share/run_backend_tests.pl -- <test>...
# Run one or more tests for one or more backends
./share/run_backend_tests.pl <backend>... -- <test>...
DESCRIPTION
This script helps to run Yancy tests under different backends to ensure all backends have the same functionality.
BACKENDS
To run the Postgres tests, you must have a running Postgres server and the current user must be authorized to access it without a password.
To run the MySQL tests, you must have a running MySQL server and the current user must be authorized to access it without a password.
To run the SQLite and DBIx::Class tests, you simply must have a /tmp folder.
ARGUMENTS
backend
A backend to test. One or more of: memory, sqlite, mysql, pg, dbic. Defaults to testing all backends, with the memory backend first.
test
A test file to run. Can be one or more paths to test directories or files in the t directory. The prove program is run recursively (with the -r flag), so directories will be recursed. Defaults to t, which will run all the tests.
OPTIONS
No options at this time.