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 }}
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
With the default behat configuration and dependencies: behat/behat 3.6.1 behat/gherkin 4.6.0
Behat option to run individual test is broken while running all the tests is working as desired.
Steps to reproduce the issue:
1 - Clone the repo
2 - run docker-comopse up -d to up the containers downloaded
3 - run docker-compose exec web composer install
4 - run docker-compose exec web vendor/bin/run toolkit:install-clean to install Drupal
5 - run docker-compose exec web vendor/bin/run toolkit:test-behat or docker-compose exec web vendor/bin/behat to run all the tests inside the tests/features/ directory ► will run all the tests, by default just authentication.feature, so behat knows features directory and runs fine the tests.
6 - run docker-compose exec web vendor/bin/behat tests/features/authentication.feature to run the specific feature (working in step 5) and the result is:
And the result is the same for other kind of specifyng tests to be run, like *.feature:,...
After looking for the issue in Behat/Behat and Behat/Gherkin github repos seems is a known issue and there is a patch for behat/gherkin available which solves the issue as described here.
With the default behat configuration and dependencies:
behat/behat 3.6.1
behat/gherkin 4.6.0
Behat option to run individual test is broken while running all the tests is working as desired.
Steps to reproduce the issue:
1 - Clone the repo
2 - run docker-comopse up -d to up the containers downloaded
3 - run docker-compose exec web composer install
4 - run docker-compose exec web vendor/bin/run toolkit:install-clean to install Drupal
5 - run docker-compose exec web vendor/bin/run toolkit:test-behat or docker-compose exec web vendor/bin/behat to run all the tests inside the tests/features/ directory ► will run all the tests, by default just authentication.feature, so behat knows features directory and runs fine the tests.
6 - run docker-compose exec web vendor/bin/behat tests/features/authentication.feature to run the specific feature (working in step 5) and the result is:
And the result is the same for other kind of specifyng tests to be run, like *.feature:,...
CC: @LuisSantosEncinas
The text was updated successfully, but these errors were encountered: