Skip to content
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

[Core] Include stack traces in html report #2862

Merged
merged 1 commit into from
Mar 23, 2024
Merged

Conversation

mpkorstanje
Copy link
Contributor

@mpkorstanje mpkorstanje commented Mar 23, 2024

πŸ€” What's changed?

Before

image

After

image

Depends on cucumber/messages#213
Depends on cucumber/junit-xml-formatter#30

⚑️ What's your motivation?

With cucumber/react-components#345 the html formatter started to support rendering stack traces. Unfortunately this also broke the regular rendering of stacktrace. And fixing this required including the stack trace the xml report aswell so that when the Convertor in messages was fixed to always include the stacktrace, we wouldn't render the stacktrace in the xml formatter twice.

🏷️ What kind of change is this?

  • πŸ› Bug fix (non-breaking change which fixes a defect)

πŸ“‹ 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.

With cucumber/react-components#345 the html formatter started to
support rendering stack traces. Unfortunately this also broke the
regular rendering of stacktrace. And fixing this required including the
stack trace the xml report as well so that when the Convertor in messages
was fixed to always include the stacktrace, we wouldn't render the
stacktrace in the xml formatter twice.
Copy link

codecov bot commented Mar 23, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 84.99%. Comparing base (9eb958d) to head (37a7596).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2862      +/-   ##
============================================
- Coverage     84.99%   84.99%   -0.01%     
+ Complexity     2734     2733       -1     
============================================
  Files           331      331              
  Lines          9559     9555       -4     
  Branches        918      918              
============================================
- Hits           8125     8121       -4     
  Misses         1109     1109              
  Partials        325      325              

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@mpkorstanje mpkorstanje marked this pull request as ready for review March 23, 2024 18:42
@mpkorstanje mpkorstanje merged commit a2395d4 into main Mar 23, 2024
9 checks passed
@mpkorstanje mpkorstanje deleted the include-stack-trace branch March 23, 2024 18:42
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.

None yet

1 participant