scaffold-package-command icon indicating copy to clipboard operation
scaffold-package-command copied to clipboard

`behat.yml` file missing after package scaffolding

Open ernilambar opened this issue 1 year ago • 0 comments

Bug Report

Describe the current, buggy behavior

Error: behat.yml file missing after I run composer run behat.

Describe how other contributors can replicate this bug

  • wp scaffold package rabmalin/testing --dir=~/Temp/testing
  • composer install
  • composer run behat

Error:

Did not detect "behat.yml" file, skipping Behat tests.

After I add this file with following content, test run properly.

default:
  suites:
    default:
      contexts:
        - WP_CLI\Tests\Context\FeatureContext
      paths:
        - features

ernilambar avatar Mar 14 '24 10:03 ernilambar