Skip to content

Conversation

@gaeljw
Copy link
Member

@gaeljw gaeljw commented Jul 23, 2025

Solves #401

The only impact for users is in the output in case of errors, there can be a bit more noise to identify the root cause line:

- ScalaDslStepsTest.scala:68
+ io.cucumber.scala.ScalaDslStepsTest$Glue$3.<init>(ScalaDslStepsTest.scala:68)

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@gaeljw gaeljw changed the title chore: implement getHookType on ScalaHookDefinition Implement HookDefinition.getHookType and unimplement Location.getLocation Jul 23, 2025
@gaeljw gaeljw marked this pull request as ready for review July 23, 2025 09:56
Copy link
Contributor

@mpkorstanje mpkorstanje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're happy with the slightly noisier output I'm happy. If not, then I can workaround it for the regression tests.

LGTM

@gaeljw gaeljw merged commit c219bd5 into main Jul 23, 2025
4 of 5 checks passed
@gaeljw gaeljw deleted the gh401 branch July 23, 2025 15:29
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.

Implement HookDefinition.getHookType and unimplement Location.getLocation

2 participants