Skip to content
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 UI snapshot tests #515

Merged
merged 4 commits into from
Sep 17, 2023
Merged

Add UI snapshot tests #515

merged 4 commits into from
Sep 17, 2023

Conversation

marcospb19
Copy link
Member

The "UI tests" are inspired by rustc extensive UI tests.

This uses snapshot testing, and its main purpose is to ensure that we have high-quality and meaningful error reports.

@marcospb19 marcospb19 force-pushed the add-ui-snapshot-tests branch 4 times, most recently from ef78af8 to 6963cf2 Compare September 16, 2023 16:19
Ouch check for file signatures to be sure that the file indeed has the
correct format as inferred by extension, when that fails, we output a
message explaining that Ouch wasn't able to confirm the format, however,
previous message was confusing with the other extension detection ones
these tests are used to assert on Ouch's output for error reports and
progress logging
@marcospb19 marcospb19 force-pushed the add-ui-snapshot-tests branch from 6963cf2 to 6c9b53f Compare September 16, 2023 17:39
@marcospb19 marcospb19 merged commit bc1d945 into main Sep 17, 2023
12 checks passed
@marcospb19 marcospb19 deleted the add-ui-snapshot-tests branch September 17, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant