Skip to content

[fix]: improve fatal error diagnostic message in RenderTester #237

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

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

jamieQ
Copy link
Contributor

@jamieQ jamieQ commented Aug 10, 2023

Issue

when the RenderTester's RenderContext cannot produce a value for the expected rendering type, it must abort program execution. the informative error message that is used to populate a test failure description isn't as easily discoverable in Xcode's diagnostic overlay in this case.

Description

update the messaging in these circumstances

now looks like:

Checklist

  • Unit Tests
  • UI Tests
  • Snapshot Tests (iOS only)
  • I have made corresponding changes to the documentation

@jamieQ jamieQ requested a review from a team as a code owner August 10, 2023 19:24
@jamieQ jamieQ merged commit 79f127c into main Aug 10, 2023
@jamieQ jamieQ deleted the jquadri/test-fatals-qol branch August 10, 2023 20:59
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.

3 participants