Git Product home page Git Product logo

Comments (7)

pfrenssen avatar pfrenssen commented on May 20, 2024 1

I'm having the same issue. I cannot run individual tests, getting this error:

 [Behat\Testwork\Tester\Exception\WrongPathsException]                                                                                           
  No specifications found at path(s) `features/authentication.feature`. This might be because of incorrect paths configuration in your `suites`.

from gherkin.

kwoxer avatar kwoxer commented on May 20, 2024 1

Thanks. Indeed this is a version Issue. For me it worked to have this version setup active:
"behat/behat": "3.3.0",
"behat/gherkin": "4.4.5",
"drupal/drupal-extension": "3.3.0",
"behat/symfony2-extension": "2.1.1"

from gherkin.

pfrenssen avatar pfrenssen commented on May 20, 2024

Note for people who may not be able to run their tests even after rolling back to 4.4.5: delete the Gherkin cache, this is located in your temporary storage, e.g. in /tmp/behat_gherkin_cache/ or similar.

from gherkin.

pfrenssen avatar pfrenssen commented on May 20, 2024

I've been experimenting with this. The bug is apparently not in behat/gherkin but in behat/behat. The bug only occurs if I am using Behat 3.4.0, regardless of the version of Gherkin.

from gherkin.

pfrenssen avatar pfrenssen commented on May 20, 2024

I did a git bisect and the bug was introduced in this commit from behat/behat: Behat/Behat@08802b7

This was part of Behat/Behat#1056. We should move this discussion to behat/behat.

from gherkin.

pfrenssen avatar pfrenssen commented on May 20, 2024

It appears that the bug is in Gherkin after all. I proposed a fix in #129 but this needs some input because I am looking at the Gherkin code base for the first time and don't know its architecture.

from gherkin.

phil-davis avatar phil-davis commented on May 20, 2024

Is this fixed by #166 release 4.6.2 ?

from gherkin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.