2019-07-17 20:02:41 -04:00
|
|
|
paths:
|
2021-01-21 20:55:37 -05:00
|
|
|
tests: tests
|
|
|
|
|
output: tests/_output
|
|
|
|
|
data: tests/_data
|
|
|
|
|
support: tests/_support
|
|
|
|
|
envs: tests/_envs
|
2019-07-17 20:02:41 -04:00
|
|
|
params:
|
2021-01-21 20:55:37 -05:00
|
|
|
- env
|
|
|
|
|
- .env
|
|
|
|
|
- .env.docker
|
2019-07-17 20:02:41 -04:00
|
|
|
actor_suffix: Tester
|
|
|
|
|
settings:
|
2021-01-21 20:55:37 -05:00
|
|
|
colors: true
|
|
|
|
|
memory_limit: 1024M
|
2019-07-17 20:02:41 -04:00
|
|
|
coverage:
|
2021-01-21 20:55:37 -05:00
|
|
|
enabled: true
|
|
|
|
|
include:
|
|
|
|
|
- 'includes/*'
|
2021-01-21 22:41:43 -05:00
|
|
|
- 'access-functions.php'
|
2021-01-21 20:55:37 -05:00
|
|
|
exclude:
|
|
|
|
|
- 'local/*'
|
2021-01-21 22:41:43 -05:00
|
|
|
- 'vendor/*'
|
|
|
|
|
- 'wp-graphql-woocommerce.php'
|
2021-01-21 20:55:37 -05:00
|
|
|
show_only_summary: false
|
2019-07-17 20:02:41 -04:00
|
|
|
extensions:
|
2021-01-21 20:55:37 -05:00
|
|
|
enabled:
|
|
|
|
|
- Codeception\Extension\RunFailed
|
|
|
|
|
commands:
|
|
|
|
|
- Codeception\Command\GenerateWPUnit
|
|
|
|
|
- Codeception\Command\GenerateWPRestApi
|
|
|
|
|
- Codeception\Command\GenerateWPRestController
|
|
|
|
|
- Codeception\Command\GenerateWPRestPostTypeController
|
|
|
|
|
- Codeception\Command\GenerateWPAjax
|
|
|
|
|
- Codeception\Command\GenerateWPCanonical
|
|
|
|
|
- Codeception\Command\GenerateWPXMLRPC
|
2019-07-17 20:02:41 -04:00
|
|
|
modules:
|
2021-01-21 20:55:37 -05:00
|
|
|
config:
|
|
|
|
|
WPDb:
|
|
|
|
|
dsn: 'mysql:host=%DB_HOST%;dbname=%DB_NAME%'
|
|
|
|
|
user: '%DB_USER%'
|
|
|
|
|
password: '%DB_PASSWORD%'
|
|
|
|
|
dump: 'local/db/app_db.sql'
|
|
|
|
|
populate: false
|
|
|
|
|
cleanup: false
|
|
|
|
|
waitlock: 10
|
|
|
|
|
url: '%WORDPRESS_URL%'
|
|
|
|
|
urlReplacement: true
|
|
|
|
|
tablePrefix: '%WP_TABLE_PREFIX%'
|
|
|
|
|
WPBrowser:
|
|
|
|
|
url: '%WORDPRESS_URL%'
|
|
|
|
|
wpRootFolder: '%WP_CORE_DIR%'
|
|
|
|
|
adminUsername: '%ADMIN_USERNAME%'
|
|
|
|
|
adminPassword: '%ADMIN_PASSWORD%'
|
|
|
|
|
adminPath: '/wp-admin'
|
|
|
|
|
REST:
|
|
|
|
|
depends: WPBrowser
|
|
|
|
|
url: '%WORDPRESS_URL%'
|
2023-05-22 13:43:10 -04:00
|
|
|
cookies: false
|
2021-01-21 20:55:37 -05:00
|
|
|
WPFilesystem:
|
|
|
|
|
wpRootFolder: '%WP_CORE_DIR%'
|
|
|
|
|
plugins: '/wp-content/plugins'
|
|
|
|
|
mu-plugins: '/wp-content/mu-plugins'
|
|
|
|
|
themes: '/wp-content/themes'
|
|
|
|
|
uploads: '/wp-content/uploads'
|
|
|
|
|
WPLoader:
|
|
|
|
|
wpRootFolder: '%WP_CORE_DIR%'
|
|
|
|
|
dbName: '%DB_NAME%'
|
|
|
|
|
dbHost: '%DB_HOST%'
|
|
|
|
|
dbUser: '%DB_USER%'
|
|
|
|
|
dbPassword: '%DB_PASSWORD%'
|
|
|
|
|
tablePrefix: '%WP_TABLE_PREFIX%'
|
|
|
|
|
domain: '%WORDPRESS_DOMAIN%'
|
|
|
|
|
adminEmail: '%ADMIN_EMAIL%'
|
|
|
|
|
title: 'WooGraphQL Tests'
|
|
|
|
|
plugins:
|
|
|
|
|
- woocommerce/woocommerce.php
|
|
|
|
|
- woocommerce-gateway-stripe/woocommerce-gateway-stripe.php
|
|
|
|
|
- wp-graphql/wp-graphql.php
|
|
|
|
|
- wp-graphql-jwt-authentication/wp-graphql-jwt-authentication.php
|
|
|
|
|
- wp-graphql-woocommerce/wp-graphql-woocommerce.php
|
|
|
|
|
activatePlugins:
|
|
|
|
|
- woocommerce/woocommerce.php
|
|
|
|
|
- woocommerce-gateway-stripe/woocommerce-gateway-stripe.php
|
|
|
|
|
- wp-graphql/wp-graphql.php
|
|
|
|
|
- wp-graphql-jwt-authentication/wp-graphql-jwt-authentication.php
|
|
|
|
|
- wp-graphql-woocommerce/wp-graphql-woocommerce.php
|
|
|
|
|
configFile: 'tests/_data/config.php'
|