-
Notifications
You must be signed in to change notification settings - Fork 254
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
Add a check for missing test files and raise a more helpful error #468
Conversation
This is to help reproduce cucumber#383
…nto fix-issue#383
…nGodog function in order to see it fail
…nto fix-issue#383
Co-authored-by: Matt Wynne <[email protected]>
by using cmd.OutOrStdout( )
This reverts commit e5b2693.
Co-authored-by: Matt Wynne <[email protected]>
…nto fix-issue#383
@vearutop I am a bit stuck on how to advise @ALCooper12 to actually fix this. We've got it trapped with a failing test around It appears that the unexpected error we're seeing is because the I don't really understand how we end up in this situation just because the user has called their file Can you shed any light on it? |
we examined the output from running `go test` which tells us if we didn't find any test files. we tweaked the error message to follow the capitalization rules Co-authored-by: Matt Wynne <[email protected]>
…nto fix-issue#383
I still need to update the change log, but otherwise this is ready! |
Codecov Report
@@ Coverage Diff @@
## main #468 +/- ##
==========================================
+ Coverage 81.41% 81.42% +0.01%
==========================================
Files 27 27
Lines 2195 2197 +2
==========================================
+ Hits 1787 1789 +2
Misses 312 312
Partials 96 96
Continue to review full report at Codecov.
|
@vearutop any feedback? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a minor suggestion, overall this looks good to me! 👍
Hi @ALCooper12, Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾 In return for this generous offer we hope you will:
On behalf of the Cucumber core team, |
🎉 congrats @ALCooper12 and thanks for all your hard work and patience figuring out this fix together. I've learned a lot about Go and godog's codebase working with you, I hope we can continue working together! |
🤔 What's changed?
Fixes #383.
⚡️ What's your motivation?
🏷️ What kind of change is this?
📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.