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

Actually check E2E test output, add more context to output errors #25

Merged
merged 3 commits into from
Feb 17, 2024

Conversation

robertknight
Copy link
Owner

@robertknight robertknight commented Feb 17, 2024

Make make test-e2e actually check the text produced against expectations.

In the process of debugging a CI failure, the error messages produced when writing the output file fails have also been improved.

@robertknight robertknight changed the title Actually check E2E test output Actually check E2E test output, add more context to output errors Feb 17, 2024
 - Replace the `FileErrorContext` trait with the anyhow crate, which
   provides better support for adding context to errors.

 - Use `anyhow::with_context` to add contexts to errors reported when
   creating output file fails.
@robertknight robertknight merged commit 320b0da into main Feb 17, 2024
2 checks passed
@robertknight robertknight deleted the check-test-e2e-output branch February 17, 2024 08:49
@robertknight robertknight mentioned this pull request Mar 9, 2024
6 tasks
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