-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running rules from the feature file causes the whole feature file to be run if the rule has no tag on it #2882
Comments
How are you selecting the rule? |
IF i run it through the runners class it runs no proplem but this makes depugging hard for me |
thanks |
The problem is a bit complicated.
The third one will be fixed by #2884. And once released, IDEA will have to fix this the first two one their end. I'll create the feature request for that, because I also want them to make it possible to select examples. edit: Once created, I suppose you could upvote the request, and get other people to upvote it too. JetBrains isn't very quick with feature requests otherwise. π |
of course iam willing to do this once u create it |
I think that won't be very helpful, you've left out the information needed for Intelij to fix the issue. And without the fix being released in Cucumber, they won't be able to implement anything just yet. |
sorry i will close it then wait for u iam being Impatient |
seems i cant delete it sorry for the inconvenience |
I am using cucumber + plugin but it's not perfect |
is there any update on the ticket u said will submit for JetBrains |
So I made https://youtrack.jetbrains.com/issue/IDEA-353691 and that's where we are at right now. The problem is a bit more complicated than I thought. For IDEA it is important that their selections are stable, which line numbers aren't. So while selecting by line number works well for rerunning failed scenarios, it not great when users may change the file and the line numbers. I have thought about extending And for the next major version I would like to standardize on the JUnit Platform. Which would allow IDEA to select rules, scenarios and examples programmatically making the whole problem moot. But that is a long way of and gated behind a few other big projects. |
That said, if you are really interested in this feature you could look into expanding the Personally, I don't think it is worth the effort thought. IDEA seems to be extremely slow to respond to issues, so it is unlikely they'll ever use |
i don't think i have the knowledge or the skills to do so perhaps i will wait |
thanks for your effort |
If you want to try, I'm happy to give you some pointers when you get stuck. Hop on the discord. |
π What did you see?
running rules from the feature file causes the whole feature file to be run if the rule has no tag on it
β What did you expect to see?
the rule used to run even if their were no tag on it
π¦ Which tool/library version are you using?
Java Cucumber 7.17.0
π¬ How could we reproduce it?
create a feature file containing a rule then try to run the rule
π Any additional context?
The text was updated successfully, but these errors were encountered: