Files
wp-graphql-woocommerce/codeception.dist.yml
T

87 lines
2.9 KiB
YAML
Raw Permalink Normal View History

2019-07-17 20:02:41 -04:00
paths:
tests: '%TESTS_DIR%'
output: '%TESTS_OUTPUT%'
data: '%TESTS_DATA%'
support: '%TESTS_SUPPORT%'
envs: '%TESTS_ENVS%'
2019-07-17 20:02:41 -04:00
params:
- env
- .env.dist
2019-07-17 20:02:41 -04:00
actor_suffix: Tester
settings:
colors: true
memory_limit: 1024M
coverage:
enabled: true
2019-07-27 17:33:23 -04:00
remote: false
2019-11-16 12:08:41 -05:00
c3_url: '%WP_URL%/wp-content/plugins/wp-graphql-woocommerce/wp-graphql-woocommerce.php'
2019-12-09 08:33:25 -05:00
include:
- includes/*
exclude:
- wp-graphql-woocommerce.php
- access-functions.php
- class-inflect.php
2019-12-09 08:33:25 -05:00
- vendor/*
show_only_summary: false
2019-07-17 20:02:41 -04:00
extensions:
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
modules:
config:
WPDb:
dsn: 'mysql:host=%DB_HOST%;dbname=%DB_NAME%'
user: '%DB_USER%'
password: '%DB_PASSWORD%'
2019-07-17 20:02:41 -04:00
populator: 'mysql -u $user -p$password -h $host $dbname < $dump'
dump: 'tests/_data/dump.sql'
populate: true
cleanup: true
waitlock: 0
url: '%WP_URL%'
2019-07-17 20:02:41 -04:00
urlReplacement: true
tablePrefix: '%WP_TABLE_PREFIX%'
2019-07-17 20:02:41 -04:00
WPBrowser:
url: '%WP_URL%'
2019-07-17 20:02:41 -04:00
wpRootFolder: '%WP_ROOT_FOLDER%'
adminUsername: '%ADMIN_USERNAME%'
adminPassword: '%ADMIN_PASSWORD%'
adminPath: '/wp-admin'
REST:
depends: WPBrowser
url: '%WP_URL%'
2019-07-17 20:02:41 -04:00
WPFilesystem:
wpRootFolder: '%WP_ROOT_FOLDER%'
plugins: '/wp-content/plugins'
mu-plugins: '/wp-content/mu-plugins'
themes: '/wp-content/themes'
uploads: '/wp-content/uploads'
WPLoader:
wpRootFolder: '%WP_ROOT_FOLDER%'
dbName: '%DB_NAME%'
dbHost: '%DB_HOST%'
dbUser: '%DB_USER%'
dbPassword: '%DB_PASSWORD%'
tablePrefix: '%WP_TABLE_PREFIX%'
domain: '%WP_DOMAIN%'
adminEmail: '%ADMIN_EMAIL%'
title: 'Test'
2019-11-15 00:38:46 -05:00
plugins:
- woocommerce/woocommerce.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
- 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'