Closed Johnlon closed 6 months ago
Attention: Patch coverage is 88.70968%
with 7 lines
in your changes are missing coverage. Please review.
Project coverage is 79.69%. Comparing base (
153db4e
) to head (9de0ee7
). Report is 8 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
suite.go | 81.25% | 5 Missing and 1 partial :warning: |
internal/models/results.go | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@Johnlon thanks for this, it looks great!
Are you able to take a look at why the build is failing? It seems to be just some noise from go fmt
, maybe your editor has added some whitespace or something?
@Johnlon it would help the other maintainers if you could add an entry to the changelog as part of this PR. You can use this tool if you like, or just copy and adapt other existing entries.
@mattwynne thanks - will do. Still confused by the coverage problems. Any ideas? Cheers John
@Johnlon thanks for this, it looks great!
Are you able to take a look at why the build is failing? It seems to be just some noise from
go fmt
, maybe your editor has added some whitespace or something?
At go fmt sorry . Hmm will see if I can reverse??
@mattwynn Err Matt - I fixed the fmt issue and added the CHANGELOG - but it looks like I also merged to main (which wasn't my intention). Apols - please give it the once over. John
I see a put the CHANGELOG entry in the wrong please - please review this fix - https://github.com/cucumber/godog/pull/626
Hey @Johnlon no worries, looks like the build on main is green which is the main thing I was worried about, so all good.
As I said in the other thread, we favour Ship/Show/Ask in the Cucumber org, so feel free to merge your own PRs if you feel you've had enough feedback. Try and do it on purpose though! π
I really appreciate the work you've put into this, thanks!
No prob happy to help How do releases work? I mean is there some governance or Star chamber who decide? Or do I DIY here? Thanks
First things first, before thinking about a release, if you can make another PR with the changes @vearutop has suggested, then we'll have the code in the best shape we can get it.
@vearutop Hi - Take a look at my responses to your suggestions. PR raised here : https://github.com/cucumber/godog/pull/628
π€ What's changed?
The cucumber and events formatters support the inclusion of Attachments.
The proposed API is demonstrated in the tests as ...
β‘οΈ What's your motivation?
https://github.com/cucumber/godog/issues/617
Want support for Attachments from steps. This PR proposes to use the context.Context object as a means to attach content from the step.
π·οΈ What kind of change is this?
β»οΈ Anything particular you want feedback on?
This change involves minimal changes to patterns of use of godog API's.
I added tests for the cuke and events formats but the coverage isn't being recorded even on some lines I didn't modify.
fmt_output_test.go now has a normalise() fn that eliminates some extraneous diffs in the actual/expected files such as line endings and also line numbers so that the tests are easier to maintain and cross platform,
π Checklist: