Skip to content

Extract query object for reuse in other formatters #29

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

Merged
merged 7 commits into from
Mar 22, 2024

Conversation

mpkorstanje
Copy link
Contributor

@mpkorstanje mpkorstanje commented Mar 18, 2024

🤔 What's changed?

Extract query object for reuse in other formatters.

Coincidentally this also fixes a bug where the results for a retried scenario were overwritten.

⚡️ What's your motivation?

Working with messages can be pretty cumbersome and repetetive. Wrapping the messages in a database like object that can be queried should make it easier to write other formatters.

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, documentation 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.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@mpkorstanje mpkorstanje marked this pull request as draft March 18, 2024 02:49
@mpkorstanje mpkorstanje marked this pull request as ready for review March 22, 2024 20:58
@mpkorstanje mpkorstanje merged commit a73086b into main Mar 22, 2024
@mpkorstanje mpkorstanje deleted the extract-query-object-for-reuse branch March 22, 2024 20:59
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.

1 participant