|
| 1 | +paths: |
| 2 | + tests: tests |
| 3 | + output: tests/_output |
| 4 | + data: tests/_data |
| 5 | + support: tests/_support |
| 6 | + envs: tests/_envs |
| 7 | +actor_suffix: Tester |
| 8 | +params: |
| 9 | + - .env |
| 10 | +settings: |
| 11 | + colors: true |
| 12 | + memory_limit: 1024M |
| 13 | +extensions: |
| 14 | + enabled: |
| 15 | + - Codeception\Extension\RunFailed |
| 16 | + commands: |
| 17 | + - lucatume\WPBrowser\Command\DbExport |
| 18 | + - lucatume\WPBrowser\Command\DbImport |
| 19 | + - lucatume\WPBrowser\Command\DevInfo |
| 20 | + - lucatume\WPBrowser\Command\DevRestart |
| 21 | + - lucatume\WPBrowser\Command\DevStart |
| 22 | + - lucatume\WPBrowser\Command\DevStop |
| 23 | + - lucatume\WPBrowser\Command\GenerateWPAjax |
| 24 | + - lucatume\WPBrowser\Command\GenerateWPCanonical |
| 25 | + - lucatume\WPBrowser\Command\GenerateWPRestApi |
| 26 | + - lucatume\WPBrowser\Command\GenerateWPRestController |
| 27 | + - lucatume\WPBrowser\Command\GenerateWPRestPostTypeController |
| 28 | + - lucatume\WPBrowser\Command\GenerateWPUnit |
| 29 | + - lucatume\WPBrowser\Command\GenerateWPXMLRPC |
| 30 | + - lucatume\WPBrowser\Command\MonkeyCacheClear |
| 31 | + - lucatume\WPBrowser\Command\MonkeyCachePath |
| 32 | + - lucatume\WPBrowser\Command\RunAll |
| 33 | + - lucatume\WPBrowser\Command\RunOriginal |
| 34 | +coverage: |
| 35 | + enabled: true |
| 36 | + remote: false |
| 37 | + c3_url: "%WORDPRESS_URL%/wp-content/plugins/hwp-previews/hwp-previews.php" |
| 38 | + include: |
| 39 | + - src/* |
| 40 | + - /access-functions.php |
| 41 | + - /activation.php |
| 42 | + - /deactivation.php |
| 43 | + exclude: |
| 44 | + - /bin/* |
| 45 | + - /docs/* |
| 46 | + - /node_modules/* |
| 47 | + - /packages/* |
| 48 | + - /tests/* |
| 49 | + - /vendor-prefixed/* |
| 50 | + - /vendor/* |
| 51 | + show_only_summary: false |
| 52 | +modules: |
| 53 | + config: |
| 54 | + REST: |
| 55 | + depends: lucatume\WPBrowser\Module\WPBrowser |
| 56 | + url: "%WORDPRESS_URL%" |
| 57 | + lucatume\WPBrowser\Module\WPFilesystem: |
| 58 | + wpRootFolder: '%WORDPRESS_ROOT_DIR%' |
| 59 | + themes: '/wp-content/themes' |
| 60 | + plugins: '/wp-content/plugins' |
| 61 | + mu-plugins: '/wp-content/mu-plugins' |
| 62 | + uploads: '/wp-content/uploads' |
| 63 | + lucatume\WPBrowser\Module\WPBrowser: |
| 64 | + url: '%WORDPRESS_URL%' |
| 65 | + adminUsername: '%WORDPRESS_ADMIN_USER%' |
| 66 | + adminPassword: '%WORDPRESS_ADMIN_PASSWORD%' |
| 67 | + adminPath: '/wp-admin' |
| 68 | + headers: |
| 69 | + X_WPBROWSER_REQUEST: 1 |
| 70 | + X_TEST_REQUEST: 1 |
| 71 | + X_APM_REQUEST: 1 |
| 72 | + connect_timeout: 3 |
| 73 | + cookies: false |
| 74 | + lucatume\WPBrowser\Module\WPDb: |
| 75 | + dsn: "%TEST_DB_DSN%" |
| 76 | + user: "%TEST_DB_USER%" |
| 77 | + password: "%TEST_DB_PASSWORD%" |
| 78 | + populator: 'mysql -u $user -p$password -h $host $dbname < $dump' |
| 79 | + dump: 'tests/_data/dump.sql' |
| 80 | + populate: true |
| 81 | + cleanup: true |
| 82 | + waitlock: 0 |
| 83 | + url: "%WORDPRESS_URL%" |
| 84 | + urlReplacement: true |
| 85 | + tablePrefix: "%WORDPRESS_TABLE_PREFIX%" |
| 86 | + lucatume\WPBrowser\Module\WPLoader: |
| 87 | + wpRootFolder: "%WORDPRESS_ROOT_DIR%" |
| 88 | + dbName: "%TEST_DB_NAME%" |
| 89 | + dbHost: "%TEST_DB_HOST%" |
| 90 | + dbUser: "%TEST_DB_USER%" |
| 91 | + dbPassword: "%TEST_DB_PASSWORD%" |
| 92 | + tablePrefix: "%TEST_TABLE_PREFIX%" |
| 93 | + domain: "%WORDPRESS_DOMAIN%" |
| 94 | + adminEmail: "%WORDPRESS_ADMIN_EMAIL%" |
| 95 | + title: 'Test' |
| 96 | + plugins: |
| 97 | + - wp-graphql/wp-graphql.php |
| 98 | + - hwp-previews/hwp-previews.php |
| 99 | + activatePlugins: |
| 100 | + - wp-graphql/wp-graphql.php |
| 101 | + - hwp-previews/hwp-previews.php |
| 102 | + configFile: 'tests/_data/config.php' |
0 commit comments