Skip to content

Commit cdf145e

Browse files
schlesseraclaude
andcommitted
Measure Behat run times with wp-cli-tests BASE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 0e280a8 commit cdf145e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎composer.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@
6969
"minimum-stability": "dev",
7070
"prefer-stable": true,
7171
"scripts": {
72-
"behat": "run-behat-tests",
72+
"behat": [
73+
"@php -r \"echo \\\"opcache loaded: \\\", var_export(extension_loaded(\\\"Zend OPcache\\\"), true), \\\" enable_cli: \\\", var_export(ini_get(\\\"opcache.enable_cli\\\"), true), PHP_EOL;\"",
74+
"@putenv WP_CLI_TEST_LOG_RUN_TIMES=error_log,25,5",
75+
"run-behat-tests"
76+
],
7377
"behat-rerun": "rerun-behat-tests",
7478
"lint": "run-linter-tests",
7579
"lint-gherkin": "run-gherkin-lint-tests",

0 commit comments

Comments
 (0)