-
-
Notifications
You must be signed in to change notification settings - Fork 9
Collapse testsets #77
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
Conversation
Multiple passing results are collapsed into a single report. At most 5 failing results are reported per testset.
This reverts commit 2c7d29f. These error messages are right on my machine, but maybe not on the CI
a8ca0e5
to
201bc23
Compare
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.
This is great! I've mainly looked at the fixtures and they look way better now.
Should there be a warning in the failure message that only MAX_REPORTED_FAILURES_PER_TESTSET
are shown if that threshold is hit?
@@ -61,11 +61,23 @@ jobs: | |||
|
|||
const tests = split(ENV["TESTS"], ",") | |||
|
|||
# Shorten the error messages so we don't need to care about specific paths, file numbers, etc. |
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.
Just to clarify, this only affects CI, not the end result on the website?
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.
Correct.
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.
Well, it affects a local run of the tests with pkg, too. But in any case, doesn't affect the website. Just got tired of the fixtures changing because of path differences and so on.
Thanks for the review! I couldn't think of a nice way to show a warning and I wasn't convinced it would be very helpful, so I think we should merge this without adding one. Can always do another PR if it seems like a good idea. I'll rebase and merge this later today or tomorrow if you've no objections :) |
Fixes #53.
Please don't squash these commits: there are quite a few changes and the atomic commits make it easier to understand what's going on + the changes to the fixtures between 154e5a9 and c3b5396 make it easy to see what the effect of this PR is without having to run the tests yourself.
Changes:
a7b986f (Colin Caine, 53 seconds ago)
Report test_code for passing tests
c3b5396 (Colin Caine, 10 minutes ago)
Report fewer results
Multiple passing results are collapsed into a single report. At most 5
failing results are reported per testset.
154e5a9 (Colin Caine, 5 minutes ago)
Add fixtures to test collapsing behaviour
2c7d29f (Colin Caine, 6 minutes ago)
Update error messages in fixtures