{"id":13468399,"url":"https://github.com/darrenburns/pytest-clarity","last_synced_at":"2025-05-15T19:08:29.432Z","repository":{"id":49634469,"uuid":"130103510","full_name":"darrenburns/pytest-clarity","owner":"darrenburns","description":"A plugin to improve the output of pytest with colourful unified diffs","archived":false,"fork":false,"pushed_at":"2024-02-18T13:01:54.000Z","size":1137,"stargazers_count":444,"open_issues_count":10,"forks_count":24,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-11T21:47:58.024Z","etag":null,"topics":["diff","pytest","pytest-plugin","python","testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darrenburns.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-18T18:12:38.000Z","updated_at":"2025-04-15T17:35:49.000Z","dependencies_parsed_at":"2024-01-14T17:04:50.680Z","dependency_job_id":"b3cfde4c-d6a6-48f3-9dba-ab1dd30f89eb","html_url":"https://github.com/darrenburns/pytest-clarity","commit_stats":{"total_commits":62,"total_committers":8,"mean_commits":7.75,"dds":"0.30645161290322576","last_synced_commit":"533056491c6b4e18cce54286cdb3a692a0392780"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrenburns%2Fpytest-clarity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrenburns%2Fpytest-clarity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrenburns%2Fpytest-clarity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrenburns%2Fpytest-clarity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darrenburns","download_url":"https://codeload.github.com/darrenburns/pytest-clarity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254404357,"owners_count":22065641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diff","pytest","pytest-plugin","python","testing"],"created_at":"2024-07-31T15:01:10.132Z","updated_at":"2025-05-15T19:08:29.410Z","avatar_url":"https://github.com/darrenburns.png","language":"Python","funding_links":[],"categories":["Python","Plugins"],"sub_categories":[],"readme":"=================\npytest-clarity\n=================\n\n.. image:: https://img.shields.io/pypi/v/pytest-clarity.svg\n    :target: https://pypi.org/project/pytest-clarity\n    :alt: PyPI version\n    \n.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-clarity.svg\n    :target: https://anaconda.org/conda-forge/pytest-clarity\n    :alt: conda-forge version    \n\n.. image:: https://img.shields.io/pypi/pyversions/pytest-clarity.svg\n    :target: https://pypi.org/project/pytest-clarity\n    :alt: Python versions\n\n.. image:: https://travis-ci.org/darrenburns/pytest-clarity.svg?branch=master\n    :target: https://travis-ci.org/darrenburns/pytest-clarity\n    :alt: See Build Status on Travis CI\n\nA pytest plugin which brings the coloured diff output from the `Ward test framework \u003chttps://github.com/darrenburns/ward\u003e`_ to pytest.\n\nAfter\n-----\n.. image:: https://user-images.githubusercontent.com/5740731/121730571-c5387600-cae7-11eb-96eb-eaa6d4cfd09f.png\n     :alt: Example output with pytest-clarity\n\nBefore\n------\n.. image:: https://user-images.githubusercontent.com/5740731/121730569-c4074900-cae7-11eb-9416-47f02ca4ff82.png\n     :alt: Example output without pytest-clarity\n\nRequirements\n------------\n\nSupports Python 3.6+.\n\nInstallation\n------------\n\nYou can install \"pytest-clarity\" via ``pip``::\n\n    $ pip install pytest-clarity\n\n\nUsage\n-----\n\nInstall the plugin as described above.\n\nThe plugin will only be activated when the :code:`-vv` option is supplied to :code:`pytest`.\n\nYou can configure the width of the output with the :code:`--diff-width` option:\n\n::\n\n    pytest -vv --diff-width=60\n\n\nYou can force `pytest-clarity` to show a symbolic diff with :code:`--diff-symbols`::\n\n    pytest -vv --diff-symbols\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrenburns%2Fpytest-clarity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarrenburns%2Fpytest-clarity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrenburns%2Fpytest-clarity/lists"}