Skip to content

Generating Java Step Definition with PendingException#875

Closed
Nicca3006 wants to merge 2 commits intoJetBrains:masterfrom
Nicca3006:Nicca3006-patch-1
Closed

Generating Java Step Definition with PendingException#875
Nicca3006 wants to merge 2 commits intoJetBrains:masterfrom
Nicca3006:Nicca3006-patch-1

Conversation

@Nicca3006
Copy link

When creating step definitions with Alt+Enter in intelliJ right now we won´t get any Exception so our tests get green even if no code ever was implemented. As the template is hard coded I was trying to fix this. Probably it´s not as easy as I hoped for, so everyone feel free to add to this PR.
Thanks a lot!

cucumber.api is outdated so PendingException should be updated
With an updated CucumberJavaUtil.java Exception should work again
@Nicca3006 Nicca3006 changed the title Nicca3006 patch 1 Generating Java Step Definition with PendingException Oct 5, 2022
@bartekpacia
Copy link
Member

Hi @Nicca3006, sorry for a late response and thanks a lot for your contribution.

This problem is tracked in IDEA-326113, and I recently fixed it, before I found this contribution of yours.

@bartekpacia bartekpacia closed this Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants