Behat is used for functional tests. Here, it's specifically used for testing the custom WP-CLI commands. Only a few tests are added to begin with, but more can now be added. One test is tagged with @broken which means it is skipped for now (the test is good, but #117 needs addressing).
bin/ scripts are from wp scaffold package-tests. The install script only needs to be run once. The other scripts are run via Composer scripts. Thanks @schlessera!
FeatureContext.php includes code from @swissspidy via the Traduttore plugin - thanks!
Behat is used for functional tests. Here, it's specifically used for testing the custom WP-CLI commands. Only a few tests are added to begin with, but more can now be added. One test is tagged with
@broken
which means it is skipped for now (the test is good, but #117 needs addressing).wp scaffold package-tests
. The install script only needs to be run once. The other scripts are run via Composer scripts. Thanks @schlessera!