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 pytest-icdiff to facilitate visualising differences in failed tests #904

Closed
ns-rse opened this issue Sep 16, 2024 · 0 comments · Fixed by #905
Closed

Add pytest-icdiff to facilitate visualising differences in failed tests #904

ns-rse opened this issue Sep 16, 2024 · 0 comments · Fixed by #905
Assignees
Labels
tests Issues pertaining to testing

Comments

@ns-rse
Copy link
Collaborator

ns-rse commented Sep 16, 2024

The pytest-icdiff extension to pytest makes visualising and reading the differences in assertions easier.

Developers would benefit from this visual aid so we should include it as a an optional dependency for developers in pyproject.toml.

[project.optional-dependencies]
...
dev = [
  ...
  pytest-icdiff
  ...
]
@ns-rse ns-rse added the tests Issues pertaining to testing label Sep 16, 2024
@ns-rse ns-rse self-assigned this Sep 16, 2024
@ns-rse ns-rse closed this as completed in adcee28 Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Issues pertaining to testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant