{"id":18063416,"url":"https://github.com/yuvalino/pytest-infinity","last_synced_at":"2025-04-05T13:25:16.825Z","repository":{"id":241468119,"uuid":"806207337","full_name":"yuvalino/pytest-infinity","owner":"yuvalino","description":"Infinity helps debugging the most sophisticated bugs.","archived":false,"fork":false,"pushed_at":"2024-06-09T22:10:58.000Z","size":754,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T08:48:25.267Z","etag":null,"topics":["pytest","python","testing","xdist"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuvalino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-26T17:10:21.000Z","updated_at":"2024-09-21T10:57:56.000Z","dependencies_parsed_at":"2024-06-09T23:23:54.475Z","dependency_job_id":null,"html_url":"https://github.com/yuvalino/pytest-infinity","commit_stats":null,"previous_names":["yuvalino/pytest-infinity"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvalino%2Fpytest-infinity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvalino%2Fpytest-infinity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvalino%2Fpytest-infinity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuvalino%2Fpytest-infinity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuvalino","download_url":"https://codeload.github.com/yuvalino/pytest-infinity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247340820,"owners_count":20923323,"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","python","testing","xdist"],"created_at":"2024-10-31T05:11:11.814Z","updated_at":"2025-04-05T13:25:16.804Z","avatar_url":"https://github.com/yuvalino.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytest-infinity\n\npytest-infinity is a wrapper for [pytest](https://github.com/pytest-dev/pytest), designed to easily command a test session running infinitely using xdist `--dist loadgroup` option.\n\nBelow is a demonstration for running tests with an \"android\" and \"ios\" group:\n\n![anim](imgs/infinity.gif)\n\nInfinity was created for complex low-level test suites in mind for hunting down non-deterministic bugs (running high-level or native tests on multiple mobile devices simultaneously).\n\nThese are the main principles of infinity:\n\n- Ease-of-use.\n- Test history.\n- Infinitely-long sessions.\n\nInfinity uses the following pytest plugins for its functionality:\n\n- [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) - runs tests in parallel.\n- [pytest-publish](https://github.com/yuvalino/pytest-publish) - publish live test results to REST and filesystem.\n- [pytest-xstress](https://github.com/yuvalino/pytest-xstress) - runs tests infinitely over xdist.\n\nInfinity uses the following plugins for its UI:\n\n- [textual](https://github.com/Textualize/textual) - create UI apps in terminal.\n- [rich](https://github.com/Textualize/rich) - rich text for terminals.\n\nPLEASE REPORT BUGS!\n\n## Usage\n\nJust run `infinity \u003cpytest args\u003e ...`\n\nThe wrapper adds the following flags implicitly:\n\n```sh\n$ pytest --color yes -v \n         -n auto --dist loadgroup\n         --xstress\n         --publish http://localhost:... \u003cimpl defined\u003e\n         --pubdir \u003cimpl defined\u003e\n        \n         \u003cpytest args\u003e ...\n```\n\nYour pytest args are appended to the end of the cmdline.\n\n## Functions\n\nThere are a few useful tabs implemented into infinity:\n\n### RUN\n\nSee a matrix of `groups X tests` updated live with [\u003cspan style=\"color:lightgreen\"\u003epass\u003c/span\u003e][\u003cspan style=\"color:red\"\u003efail\u003c/span\u003e][\u003cspan style=\"color:yellow\"\u003eskip\u003c/span\u003e] text.\n\n![run](imgs/run.png)\n\n### OUTPUT\n\nRaw stdout output of pytest.\n\n![output](imgs/output.png)\n\n### LOG\n\nInternal log of infinity, with the output directory printed first.\n\n![log](imgs/log.png)\n\n### FILES\n\nNavigatable filesystem with test run info.\n\n![files](imgs/files.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuvalino%2Fpytest-infinity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuvalino%2Fpytest-infinity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuvalino%2Fpytest-infinity/lists"}