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

Make the message clearer to avoid confusion about a scary and lengthy test stack #3298

Closed

Conversation

lena-kashtelyan
Copy link
Contributor

Summary:
We have a pretty convenient feature in Ax' TestCase, to deeply compare unequal objects. This can help a lot if you know how to use it, but folks mentioned to me that because the printout is lengthy, folks sometimes get scared of it and don't read it all the way through. Here's my attempt to make it friendlier : )

For illustration, printout (see how it's actually pretty useful if we look all the way through?):

{F1974874829}

Created from CodeHub with https://fburl.com/edit-in-codehub

Reviewed By: Cesar-Cardoso

Differential Revision: D68987651

… test stack

Summary:
We have a pretty convenient feature in Ax' `TestCase`, to deeply compare unequal objects. This can help a lot if you know how to use it, but folks mentioned to me that because the printout is lengthy, folks sometimes get scared of it and don't read it all the way through. Here's my attempt to make it friendlier : )

For illustration, printout (see how it's actually pretty useful if we look all the way through?): 

{F1974874829} 

Created from CodeHub with https://fburl.com/edit-in-codehub

Reviewed By: Cesar-Cardoso

Differential Revision: D68987651
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 1, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68987651

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.04%. Comparing base (c9e7de7) to head (07d66c9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3298   +/-   ##
=======================================
  Coverage   96.04%   96.04%           
=======================================
  Files         518      518           
  Lines       52162    52162           
=======================================
  Hits        50098    50098           
  Misses       2064     2064           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6ae638c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants