Skip to content

Commit f480315

Browse files
authored
Merge pull request #123 from aaemnnosttv/patch-1
Update behat.yml in setup instructions
2 parents 8443ace + 0ccc638 commit f480315

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,14 @@ To make use of the WP-CLI testing framework, you need to complete the following
4444
The timeout is expressed in seconds.
4545
4646
4. Optionally add a `behat.yml` file to the package root with the following content:
47-
```json
47+
```yaml
4848
default:
49-
paths:
50-
features: features
51-
bootstrap: vendor/wp-cli/wp-cli-tests/features/bootstrap
49+
suites:
50+
default:
51+
contexts:
52+
- WP_CLI\Tests\Context\FeatureContext
53+
paths:
54+
- features
5255
```
5356
This will make sure that the automated Behat system works across all platforms. This is needed on Windows.
5457

0 commit comments

Comments
 (0)