paths: tests: tests log: tests/_output data: tests/_data support: tests/_support envs: tests/_envs params: - env actor_suffix: Tester settings: colors: true memory_limit: 1024M coverage: enabled: true c3_url: http://localhost/wp-content/plugins/wp-graphql-woocommerce/wp-graphql-woocommerce.php whitelist: include: - wp-content/plugins/wp-graphql-woocommerce/wp-graphql-woocommerce.php - wp-content/plugins/wp-graphql-woocommerce/access-functions.php - wp-content/plugins/wp-graphql-woocommerce/class-inflect.php - wp-content/plugins/wp-graphql-woocommerce/includes/*.php 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=%TEST_DB_HOST%;dbname=%TEST_DB_NAME%' user: '%TEST_DB_USER%' password: '%TEST_DB_PASSWORD%' populator: 'mysql -u $user -p$password -h $host $dbname < $dump' dump: 'tests/_data/dump.sql' populate: true cleanup: true url: 'http://localhost' urlReplacement: true tablePrefix: '%TEST_WP_TABLE_PREFIX%' WPBrowser: url: 'http://localhost' wpRootFolder: '%WP_ROOT_FOLDER%' adminUsername: '%ADMIN_USERNAME%' adminPassword: '%ADMIN_PASSWORD%' adminPath: '/wp-admin' REST: depends: WPBrowser url: 'http://localhost' 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: 'wordpress_tests' dbHost: 'testing-db' dbUser: '%DB_USER%' dbPassword: '%DB_PASSWORD%' tablePrefix: '%WP_TABLE_PREFIX%' domain: '%WP_DOMAIN%' adminEmail: '%ADMIN_EMAIL%' title: 'Test' plugins: ['woocommerce/woocommerce.php', 'wp-graphql/wp-graphql.php', 'wp-graphql-woocommerce/wp-graphql-woocommerce.php'] activatePlugins: ['woocommerce/woocommerce.php', 'wp-graphql/wp-graphql.php', 'wp-graphql-woocommerce/wp-graphql-woocommerce.php'] configFile: 'tests/_data/config.php'