Giter Club home page Giter Club logo

Comments (6)

vearutop avatar vearutop commented on September 21, 2024

I've extracted skip.zip to a directory, created a module there, ran go mod tidy to fetch external deps.
Then

go install github.com/cucumber/godog/cmd/godog@latest
godog --version
Godog version is: v0.13.0

then

godog
Use of godog CLI is deprecated, please use *testing.T instead.
See https://github.com/cucumber/godog/discussions/478 for details.
Use of godog CLI is deprecated, please use *testing.T instead.
See https://github.com/cucumber/godog/discussions/478 for details.
Feature: Test skip error
  User should be able to skip a test.

  Scenario Outline: should skip the tests correctly # features/test_skip.feature:4
    When the test should be "<state>"               # <autogenerated>:1 -> *testContext

    Examples:
      | state |
      | ok    |
      | skip  |
      | ok    |

3 scenarios (3 passed)
3 steps (2 passed, 1 skipped)
390.903µs

Can not reproduce, could it be that your godog runner is an older version?

from godog.

juliangp avatar juliangp commented on September 21, 2024

@vearutop thanks for looking at this, I am looking to see what is different in our case but it maybe that we are running our tests in parallel.

from godog.

juliangp avatar juliangp commented on September 21, 2024

@vearutop I am a bit puzzled here - I did what you said, here is my zip with the go.mod skip.zip but it fails when I run like this?

Screenshot 2023-12-14 at 17 28 40

from godog.

juliangp avatar juliangp commented on September 21, 2024

@vearutop running go test also fails:

Screenshot 2023-12-14 at 17 42 22

from godog.

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.