{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"}],"enrichment":{"capability":"A pytest plugin that replaces default assertion diff output with colored, side-by-side diffs from ICDiff for easier comparison of mismatched values.","skillfed_tags":["pytest-plugin","test-output-formatting"],"use_cases":["Debugging test failures involving complex nested data structures where visual clarity matters.","Comparing multi-line strings or formatted output in assertion failures.","Making test output more readable in CI/CD logs where color-coded diffs are easier to scan.","Improving developer experience during local test runs with better visual feedback on assertion mismatches."],"what_it_does":"pytest-icdiff is a pytest plugin that hooks into assertion failures and replaces pytest's default diff output with ICDiff's colored, side-by-side comparison format. When an `assert ==` fails, instead of seeing a linear diff, you get a structured, color-coded view that makes it easier to spot differences at a glance, especially for complex data structures or multi-line strings.\n\nThe plugin requires pytest, icdiff, and pprintpp as runtime dependencies and installs with low friction. It activates automatically once installed\u2014no configuration needed. Maintenance is dormant (no updates since late 2023), but the codebase is stable and compatible with Python 3.7 through 3.11. There are no known security vulnerabilities.","worth_installing":"Yes, if you run pytest regularly and want clearer assertion diffs. Installation is frictionless, the license is unrestricted, and there are no security concerns. The dormant maintenance status is a minor consideration\u2014the plugin is stable and unlikely to need updates unless pytest itself changes its assertion internals\u2014but monitor compatibility if you upgrade pytest to versions well beyond 2024."},"id":"pytest-icdiff","links":{"html":"https://skillfed.io/packages/pytest-icdiff","md":"https://skillfed.io/packages/pytest-icdiff.md","pypi":"https://pypi.org/project/pytest-icdiff/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-12-05","license_spdx":null,"license_treatment":"permissive","name":"pytest-icdiff","python_support":"supports_current","summary":"use icdiff for better error messages in pytest assertions"},"popularity":{"monthly_downloads":9655067,"position":1512,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.9"}
