cucumber / cucumber-ruby

Cucumber for Ruby. It's amazing!
https://cucumber.io
MIT License
5.17k stars 1.12k forks source link

Cucumber Teamcity::Cucumber::Formatter #1674

Closed AllenAbolmaali closed 1 year ago

AllenAbolmaali commented 2 years ago

When I try to Run a Scenario inside a feature file the system does not run the scenario and gives the below Error: --format Teamcity::Cucumber::Formatter

Process finished with exit code 0

How ever when I click on the name.feature file and run - it runs perfectly . only happens on 1 project and ather project work as expected - I am using same SDK path

aurelien-reeves commented 2 years ago

Hi,

We miss some info to be able to reproduce your issue

Could you please give more info? More trace? The whole command with the full error from the console?

aslakhellesoy commented 2 years ago

Who maintains Teamcity::Cucumber::Formatter? Is it JetBrains? Shouldn't this be reported to those maintainers?

luke-hill commented 2 years ago

Yep that's the inbuilt formatter. Each time there is a potential ruby / cucumber upgrade (or java upgrade e.t.c.), it could break.

mpkorstanje commented 2 years ago

I've taken to listing the incompatible plugins:

https://github.com/cucumber/cucumber-jvm/blob/254041f05f6529e7c29a826ac8a9a50b21494514/core/src/main/java/io/cucumber/core/options/PluginOption.java#L62-L83

And then complaining when they're used:

https://github.com/cucumber/cucumber-jvm/blob/254041f05f6529e7c29a826ac8a9a50b21494514/core/src/main/java/io/cucumber/core/options/PluginOption.java#L120-L130

Though for IDEA I do silently replace their implementation with my own

aslakhellesoy commented 2 years ago

That's a great way to deal with it @mpkorstanje!

mpkorstanje commented 1 year ago

I'm guessing this issue belongs here, please feel free to close if it isn't actionable.

luke-hill commented 1 year ago

Ah yes. Sorry, this is definitely a cucumber ruby issue alone, not a poly issue.

Either way though this should be closed and fixed on the Jetbrains issue tracker.

Sorry for not closing this earlier. Top sleuthing though.

@AllenAbolmaali please create an issue on the Jetbrains tracker under the RUBY-* prefix.

The link is here: https://youtrack.jetbrains.com/newIssue