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

flask test -v should show diffs #116

Closed
gwhitney opened this issue Apr 11, 2024 · 2 comments · Fixed by #117
Closed

flask test -v should show diffs #116

gwhitney opened this issue Apr 11, 2024 · 2 comments · Fixed by #117
Labels
blocked/blocking Is blocked or blocks development of something else maintenance Functionality-orthogonal refactoring or code cleanup that needs doing question Further information is requested

Comments

@gwhitney
Copy link
Collaborator

I am running into a test failure in the current state of #111. At the end of the failure report, it says

Diff is 6546 characters long. Set self.maxDiff to None to see it.

I re-ran with flask test -v. It seems to me that in verbose mode, it should always show the diffs.
I will work on a PR to that effect, in case @katestange @Vectornaut agree.
(In any case, a way to see the diffs would be handy in investigating what is going on in #111; so if this suggestion doesn't seem good, please recommend another convenient way to see the diffs.)

@gwhitney gwhitney added question Further information is requested maintenance Functionality-orthogonal refactoring or code cleanup that needs doing blocked/blocking Is blocked or blocks development of something else labels Apr 11, 2024
@katestange
Copy link
Member

That seems to make sense to me.

gwhitney added a commit to gwhitney/backscope that referenced this issue Apr 11, 2024
  This causes the output for any test failures to show full diffs, however
  large they may be.
  Resolves numberscope#116.
@gwhitney
Copy link
Collaborator Author

gwhitney commented Apr 12, 2024

OK, up to @Vectornaut whether to merge #117 first or #111 first, since he's the one that would be affected by it.

gwhitney added a commit to gwhitney/backscope that referenced this issue Apr 13, 2024
  This causes the output for any test failures to show full diffs, however
  large they may be.
  Resolves numberscope#116.
katestange pushed a commit that referenced this issue Apr 13, 2024
This causes the output for any test failures to show full diffs, however
  large they may be.
  Resolves #116.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/blocking Is blocked or blocks development of something else maintenance Functionality-orthogonal refactoring or code cleanup that needs doing question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants