cucumber / godog

Cucumber for golang
MIT License
2.21k stars 249 forks source link

click on run tests but tests are not running #578

Closed ksoniAngel closed 7 months ago

ksoniAngel commented 7 months ago

When I click on "run tests" tests are not running. When I click on "debug tests" then tests are running fine. I am trying to run these tests in godog repo iitself (https://github.com/cucumber/godog)

Screenshot 2023-10-05 at 6 34 16 PM
vearutop commented 7 months ago

Apparently you were running the tests against the same code multiple times and the results were cached by Go tooling (the (cached) label in go test output).

See also: https://stackoverflow.com/questions/48882691/force-retesting-or-disable-test-caching.