Add regression tests for current output#99
Add regression tests for current output#99DanielEScherzer wants to merge 2 commits intorust-lang:masterfrom
Conversation
e8cbf0a to
c66db0f
Compare
|
Apparently |
Kobzol
left a comment
There was a problem hiding this comment.
Thanks! Having tests and an easy way to bless them seems generally helpful.
|
Is such an extensive regression test necessary, considering the changes in this patch are ~6 MiB? |
|
Well, testing the generated HTML is likely the simplest way to check the output of |
Kobzol
left a comment
There was a problem hiding this comment.
Thanks. I think that this is useful, but I also want to hear from @Mark-Simulacrum.
|
Hmm, one disadvantage of the tests is that when the rust-lang/rust mailmap changes, they might start to fail I'll wait to hear from Mark-Simulacrum before updating the expected content We could also add some logic to skip the test on the scheduled website updates and only run it on |
|
The repo is currently 3.9MB on disk, so it’d be great if this didn’t increase it to 10MB just for a single test fixture. Perhaps |
That sounds like unnecessary complexity to me. The size of the test suite on disk won't really increase dramatically in the future, and 10 MiB seems fine. If I do
Hmm, yeah, that's a good point. It's almost as if we should have a fixed mailmap.. Or just a test repo, but then that won't exercise all the quirks that occur in |
We could run the tests with a fixed mailmap:
|
2e9062c to
6623aba
Compare
|
I don't have the rights to rerun failed jobs, so I rebased, the failure should be resolved by now (see #103) |
No description provided.