Skip to content
21 changes: 13 additions & 8 deletions .env.default
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,33 @@
# $ source .env
###

# Path to the directory where files can be prepared before being delivered to the environment.
# Path to the directory where files can be prepared before being delivered to
# the environment.
export WPT_PREPARE_DIR=/tmp/wp-test-runner

# Path to the directory where the WordPress develop checkout can be placed and tests can be run.
# When running tests in the same environment, set WPT_TEST_DIR to WPT_PREPARE_DIR
export WPT_TEST_DIR=wp-test-runner
# Path to the directory where the WordPress develop checkout can be placed and
# tests can be run. When running tests in the same environment, set WPT_TEST_DIR
# to WPT_PREPARE_DIR
export WPT_TEST_DIR=/tmp/wp-test-runner

# API key to authenticate with the reporting service in 'username:password' format.
# API key to authenticate with the reporting service in 'username:password'
# format.
export WPT_REPORT_API_KEY=

# (Optionally) define an alternate reporting URL
export WPT_REPORT_URL=

# Credentials for a database that can be written to and reset.
# WARNING!!! This database will be destroyed between tests. Only use safe database credentials.
# Please note that you must escape _or_ refrain from using # as special character in your credentials.
# WARNING!!! This database will be destroyed between tests. Only use safe
# database credentials. Please note that you must escape _or_ refrain from
# using # as special character in your credentials.
export WPT_DB_NAME=
export WPT_DB_USER=
export WPT_DB_PASSWORD=
export WPT_DB_HOST=

# (Optionally) set a custom table prefix to permit concurrency against the same database.
# (Optionally) set a custom table prefix to permit concurrency against the same
# database.
export WPT_TABLE_PREFIX=${WPT_TABLE_PREFIX-wptests_}

# (Optionally) define the PHP executable to be called
Expand Down
Loading