Open nbueneju opened 4 years ago
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.
I've already provided PR#63.
Thanks in advance and best regards,
Juanpe
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