{"id":28545528,"url":"https://github.com/pytest-dev/pytest-plus","last_synced_at":"2025-12-12T00:54:17.025Z","repository":{"id":60722809,"uuid":"248273303","full_name":"pytest-dev/pytest-plus","owner":"pytest-dev","description":"pytest-plus adds new features to pytest","archived":false,"fork":false,"pushed_at":"2025-08-12T05:39:11.000Z","size":72,"stargazers_count":12,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-18T00:38:25.894Z","etag":null,"topics":["hacktoberfest","pep-621","pytest-plugin"],"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/pytest-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"ssbarnea"}},"created_at":"2020-03-18T15:41:10.000Z","updated_at":"2025-06-05T15:29:40.000Z","dependencies_parsed_at":"2023-01-30T20:45:27.495Z","dependency_job_id":"5c8add3c-ddb2-46d8-9e18-aa86d28ccdfd","html_url":"https://github.com/pytest-dev/pytest-plus","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":0.12,"last_synced_commit":"ad5d88a9001a86fe7d03319bea85c2467f5d67e6"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/pytest-dev/pytest-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pytest-dev","download_url":"https://codeload.github.com/pytest-dev/pytest-plus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytest-dev%2Fpytest-plus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270932542,"owners_count":24670239,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["hacktoberfest","pep-621","pytest-plugin"],"created_at":"2025-06-09T23:07:59.835Z","updated_at":"2025-12-12T00:54:16.979Z","avatar_url":"https://github.com/pytest-dev.png","language":"Python","readme":"# PyTest Plus Plugin :: extends pytest functionality\n\n[![PyPI version](https://img.shields.io/pypi/v/pytest-plus.svg)](https://pypi.org/project/pytest-plus)\n[![Python versions](https://img.shields.io/pypi/pyversions/pytest-plus.svg)](https://pypi.org/project/pytest-plus)\n![CI](https://github.com/pytest-dev/pytest-plus/workflows/tox/badge.svg)\n[![Python Black Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)\n\nThis plugin aims to be used to host multiple basic pytest extensions that meet\nthe following criteria:\n\n- Downgrade gracefully, meaning that if the plugin is removed, you will still\n  be able to run pytest\n\n## PYTEST_REQPASS\n\nIf you define environment variable `PYTEST_REQPASS=123` and at the end of the\ntesting the number of passed tests is\nnot exactly 123, pytest will return exit code 1.\n\nThis feature is aimed for CI usage in order to prevent accidental skipping of\nsome tests. We do expect users to define this variable within their own CI job\ndefinitions. The number of tests executed is likely to be dependent on the CI\njob.\n\nWe discourage defining this inside places like `tox.ini` because when a\ndeveloper runs tests, they are likely to endup running a different number of\ntests. Also, this feature makes no sense if you try to mention a specific test.\n\n## Avoiding duplicate test function names\n\nWhile pytest allows users to have the same test function names in different\nfiles, that makes it harder to identify and copy/paste the test name in order\nto reproduce the failure locally. That is why this plugin forces its users to\navoid having the same function name anywhere in the tested project.\n\nYou can disable this check by defining `PYTEST_CHECK_TEST_DUPLICATE=0`.\n\n## Avoiding problematic test identifiers\n\nThis plugin will raise errors when it encounters test IDs that are either too\nlong or that contain unsafe characters. While pytest is very flexible in allowing\na wide range of test IDs, using these does make development harder as it prevents\npeople from doing a copy/paste with failed test and pasting in in their terminal\nto reproduce the failed test locally.\n\nYou can disable regex check by defining `PYTEST_CHECK_TEST_ID_REGEX=0`.\n\nYou can disable the length check by defining `PYTEST_MAX_TEST_ID_LENGTH=0`.\n\n## Prepare pytest log files for collection on CI\n\nAs pytest log files are created on temp directory and some CI systems refuse\nto collect files from outside the current project, we do copy these files inside\n`$VIRTUAL_ENV/log`, same directory used by tox itself. To collect the logs on\nGithub Actions, you only need a step like:\n\n```yaml\n- name: Archive logs\n  uses: coactions/upload-artifact@v4\n  with:\n    name: logs-${{ matrix.name }}.zip\n    path: .tox/**/log/\n```\n\n## Release process\n\nReleases are triggered from [GitHub Releases](https://github.com/pytest-dev/pytest-plus/releases)\npage.\n\n## Links\n\n- [MIT](http://opensource.org/licenses/MIT)\n- [file an issue](https://github.com/pytest-dev/pytest-plus/issues)\n- [pytest](https://github.com/pytest-dev/pytest)\n- [tox](https://tox.readthedocs.io/en/latest/)\n- [pip](https://pypi.org/project/pip/)\n- [PyPI](https://pypi.org/project)\n","funding_links":["https://github.com/sponsors/ssbarnea"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-dev%2Fpytest-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytest-dev%2Fpytest-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-dev%2Fpytest-plus/lists"}