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
I don't know what conclusions to extract from it. It seems that the steps and the world context must be in the same mod in order for cucumber to find them?
Update 2: I noticed that what I'm trying to do is the same that is discussed in this thread: #236
Hello
I found a situation where some gherkin given/when/then steps that should be visible are instead skipped
If I compile the tests without optimization
-O0
, then they are visible.It's like the optimizations are stripping them away?
I reproduced it in a minimal example here:
https://github.com/Maximetinu/cucumber-multicrate-setup/tree/reproducing-cucumber-bug-see-latest-commit
This must be a bug on cucumber, because I can reach those functions from my code, but cucumber cannot. I would expect the same visibility for both.
Update: I made another branch on that repo where I tried to find the smallest possible commit introducing the bug. It is this: Maximetinu/cucumber-multicrate-setup@139ecc2
I don't know what conclusions to extract from it. It seems that the steps and the world context must be in the same mod in order for cucumber to find them?
Update 2: I noticed that what I'm trying to do is the same that is discussed in this thread: #236
@ilslv shared a repository showcasing how to set that up. I've also been able to reproduce it in that repository: Maximetinu/cucumber-steps-as-library@3a06dda
So, this bug is apparently caused by a combination of:
The text was updated successfully, but these errors were encountered: