-
Notifications
You must be signed in to change notification settings - Fork 375
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
test(gnovm): test all files in gnovm/tests subdirs #2754
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2754 +/- ##
==========================================
+ Coverage 60.21% 60.58% +0.36%
==========================================
Files 562 562
Lines 75031 75033 +2
==========================================
+ Hits 45179 45456 +277
+ Misses 26476 26222 -254
+ Partials 3376 3355 -21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Nice work. So until now, any tests in subdirectories weren't being executed? Good catch. I made a couple suggestions.
They're only tested in gnovm/tests. Alas, the tests in gnovm/tests/files are checked twice. Ideally, I'd remove all Go code in gnovm/tests, so we can:
But it's going to be a while before we get there. |
sorry, went ahead and merged before pushing the changes from [dylan's comments](#2754 (review))
Changes the EvalFiles tests to support sub-directories in
gnovm/tests
, skipping theextern
directory as it is used for imports.Other changes mostly concern not having tests where some output lines terminate with spaces:
assign_unnamed_type
tests.;
for end of line onPrintln
statements when they're supposed to print an empty string.what the firetruck?
tests.Contributors' checklist...
BREAKING CHANGE: xxx
message was included in the description