PR #181 added logic to detect an environment variable named DB_TYPE that allows to switch the database engine used for Behat testing from MySQL to SQLite.
This PR renames the environment variable DB_TYPE to WP_CLI_TEST_DBTYPE, because:
DB_TYPE is a generic environment variable that is actively used in many other systems, and this could lead to weird behavior where unrelated projects like a JS+MongoDB app being developed on the same machine directly impact local testing for WP-CLI.
all other configurable WP-CLI test database settings are available via WP_CLI_TEST_DB* environment variables to configure Behat.
PR #181 added logic to detect an environment variable named
DB_TYPE
that allows to switch the database engine used for Behat testing from MySQL to SQLite.This PR renames the environment variable
DB_TYPE
toWP_CLI_TEST_DBTYPE
, because:DB_TYPE
is a generic environment variable that is actively used in many other systems, and this could lead to weird behavior where unrelated projects like a JS+MongoDB app being developed on the same machine directly impact local testing for WP-CLI.WP_CLI_TEST_DB*
environment variables to configure Behat.