-
Notifications
You must be signed in to change notification settings - Fork 11
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
Get TestSet kwargs working #92
Conversation
Codecov Report
@@ Coverage Diff @@
## master #92 +/- ##
==========================================
- Coverage 96.24% 96.14% -0.11%
==========================================
Files 7 7
Lines 533 545 +12
==========================================
+ Hits 513 524 +11
- Misses 20 21 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
for r in ts_default.results | ||
r isa AbstractTestSet && finish(r) | ||
end | ||
catch err |
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.
Should the try-catch be inside the for
loop?
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.
Although that would display more results, it's not how Pkg.test
would display the results (that is if first testset of a package fails then the second one wouldn't be displayed as an error is thrown when the first testset finish
es. So will keep it as is for now
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.
some minor points.
Merge when happy
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.
LGTM
First commit fixes an issue where all errors were being hidden when
finish
was being applied to display the results.Second commit enables
showtime
andverbose
kwargs to be used in package tests and the displayed output (indisplay_reporting_testset
) updated to ensure correct test timings are displayed and that the kwargs have the intended effect.Closes #90 .