{"id":15030994,"url":"https://github.com/teemu/pytest-sugar","last_synced_at":"2025-05-11T03:31:37.913Z","repository":{"id":9155769,"uuid":"10950375","full_name":"Teemu/pytest-sugar","owner":"Teemu","description":"a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)","archived":false,"fork":false,"pushed_at":"2025-05-09T06:16:42.000Z","size":339,"stargazers_count":1393,"open_issues_count":27,"forks_count":75,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-05-10T01:33:29.940Z","etag":null,"topics":["pytest","pytest-plugin","pytest-sugar","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Teemu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2013-06-25T21:09:27.000Z","updated_at":"2025-05-09T22:38:38.000Z","dependencies_parsed_at":"2025-04-29T14:46:45.053Z","dependency_job_id":"f9a5818e-242f-4083-b1f4-5ab0ba77dcda","html_url":"https://github.com/Teemu/pytest-sugar","commit_stats":{"total_commits":320,"total_committers":57,"mean_commits":5.614035087719298,"dds":0.721875,"last_synced_commit":"efafd9c0d4bfb174db2911beb414bbd4092ffc57"},"previous_names":["frozenball/pytest-sugar"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teemu%2Fpytest-sugar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teemu%2Fpytest-sugar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teemu%2Fpytest-sugar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teemu%2Fpytest-sugar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Teemu","download_url":"https://codeload.github.com/Teemu/pytest-sugar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514066,"owners_count":21920327,"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":["pytest","pytest-plugin","pytest-sugar","python","testing"],"created_at":"2024-09-24T20:14:42.210Z","updated_at":"2025-05-11T03:31:37.883Z","avatar_url":"https://github.com/Teemu.png","language":"Python","readme":"# pytest-sugar ✨\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/Teemu/pytest-sugar/build-and-test.yaml?branch=main)](https://github.com/Teemu/pytest-sugar/actions)\n[![PyPI Version](https://img.shields.io/pypi/v/pytest-sugar.svg)](https://pypi.org/project/pytest-sugar/)\n[![Downloads](https://img.shields.io/pypi/dm/pytest-sugar)](https://pypi.org/project/pytest-sugar/)\n![License](https://img.shields.io/pypi/l/pytest-sugar?color=blue)\n\nThis plugin extends [pytest](http://pytest.org) by showing failures and errors instantly, adding a progress bar, improving the test results, and making the output look better.\n\n![render1667890332624-min](https://user-images.githubusercontent.com/53298/200600769-7b871b26-a36a-4ae6-ae24-945ee83fb74a.gif)\n\n## Installation\n\nTo install pytest-sugar:\n\n    python -m pip install pytest-sugar\n\nOnce installed, the plugin is activated automatically. Run your tests normally:\n\n    pytest\n\nIf you would like more detailed output (one test per line), then you may use the verbose option:\n\n    pytest --verbose\n\nIf you would like to run tests without pytest-sugar, use:\n\n    pytest -p no:sugar\n\n## How to contribute 👷‍♂️\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true\u0026ref=master\u0026repo=10950375)\n\nMake sure to read our [Code of Conduct](https://github.com/Teemu/pytest-sugar/blob/master/.github/CODE_OF_CONDUCT.md). You can get started modifying the codebase with the following commands. Alternatively, you can try Github Codespaces (click the badge above). Push the changes to your repository \u0026 create a pull request.\n\n````\ngit clone git@github.com:Teemu/pytest-sugar.git\ncd pytest-sugar\npython -m venv .venv\nsource .venv/bin/activate\necho \".venv\" \u003e\u003e .git/info/exclude\npip install -e \".[dev]\"\npre-commit install\n````\n\nThere are two ways of running tests. We have our proper tests:\n\n````\npytest .\n````\n\nThere are also fake tests that can be used to visualise the output:\n\n````\npytest faketests\n````\n\nWhen submitting a pull request, please add a `RELEASE.md` file in the root of the project that contains the release type (major, minor, patch) and a summary of the changes that will be used as the release changelog entry. For example:\n\n```markdown\nRelease type: patch\n\nFor long-running tests, display minutes and not only seconds.\n```\n\n## Requirements\n\nYou will need the following prerequisites in order to use pytest-sugar:\n\n- Python 3.8 or newer\n- pytest 6.2 or newer\n\n## Running on Windows\n\nIf you are seeing gibberish, you might want to try changing charset and fonts. See [this comment]( https://github.com/Teemu/pytest-sugar/pull/49#issuecomment-146567670) for more details.\n\n## Similar projects\n\n- [pytest-rich](https://github.com/nicoddemus/pytest-rich)\n- [pytest-pretty](https://github.com/samuelcolvin/pytest-pretty)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteemu%2Fpytest-sugar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteemu%2Fpytest-sugar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteemu%2Fpytest-sugar/lists"}