You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8c74ce7
Browse filesBrowse the repository at this point in the historyBrowse files
Merge BEHAT_PARAMS over behat.yml for Behat 4 and honor --config
- An existing BEHAT_PARAMS no longer replaces the default profile of
behat.yml under Behat 4, it is merged over it, as Behat 3 does.
- A run that names a configuration file with --config is left alone.
- Read the attribute values from their public properties, which Behat
3.16 to 3.21 have no getters for.
- Document the suite hook annotations Behat 3.15 needs on PHP 8.0.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UWTd5oCbv1VegFDowMr3eS
Copy file name to clipboardExpand all lines: utils/behat-config.php
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
* BEHAT_PARAMS environment variable, in every version. Printing the profile in that form lets a
7
7
* project keep a single behat.yml for all the Behat versions it is tested with.
8
8
*
9
+
* What BEHAT_PARAMS already holds is merged over the profile, as Behat 3 does with behat.yml.
10
+
*
9
11
* Prints nothing when Behat reads behat.yml by itself.
10
12
*
11
13
* Usage: php behat-config.php [<path to behat.yml>]
@@ -52,4 +54,18 @@
52
54
fwrite( STDERR, "Warning: Behat {$wp_cli_tests_behat_version} does not read YAML, so only the \"default\" profile of {$wp_cli_tests_config_file} is used, not: {$wp_cli_tests_ignored}. Add a behat.php for those.\n" );
0 commit comments