{"id":20128593,"url":"https://github.com/jest-community/jest-pytest","last_synced_at":"2025-04-09T15:50:46.059Z","repository":{"id":33720014,"uuid":"134056537","full_name":"jest-community/jest-pytest","owner":"jest-community","description":"A Jest and Pytest integration made in heaven 💖","archived":false,"fork":false,"pushed_at":"2024-01-22T22:40:56.000Z","size":9534,"stargazers_count":42,"open_issues_count":108,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:05:26.010Z","etag":null,"topics":["jest","pytest","python","testing"],"latest_commit_sha":null,"homepage":"https://jest-community.github.io/jest-pytest","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/jest-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-05-19T11:39:10.000Z","updated_at":"2024-11-12T03:08:37.000Z","dependencies_parsed_at":"2024-06-19T00:16:58.720Z","dependency_job_id":null,"html_url":"https://github.com/jest-community/jest-pytest","commit_stats":null,"previous_names":["jondot/jest-pytest"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jest-community%2Fjest-pytest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jest-community%2Fjest-pytest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jest-community%2Fjest-pytest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jest-community%2Fjest-pytest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jest-community","download_url":"https://codeload.github.com/jest-community/jest-pytest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248063862,"owners_count":21041854,"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":["jest","pytest","python","testing"],"created_at":"2024-11-13T20:28:10.990Z","updated_at":"2025-04-09T15:50:46.035Z","avatar_url":"https://github.com/jest-community.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jest-pytest\n\nBased on [@cpojer](https://github.com/cpojer)'s amazing [Jest / Pytest work here](https://github.com/cpojer/pyjest), and adapted to work with pytest snapshots and a custom [JSON pytest reporter](https://github.com/jondot/pytest-jest).\n\nEssentially, it's:\n\n1.  `jest-pytest` to tie up the Jest side.\n2.  `pytest-jest` to tailor-fit reporting from the Python side.\n\n## Quick Start\n\n```\n$ yarn add jest-pytest\n```\n\nTo your Python project, add `pytest-jest`:\n\n```\npip install pytest-jest --upgrade\n```\n\nOptionally, add [snapshots](https://github.com/syrusakbary/snapshottest):\n\n```\npip install snapshottest\n```\n\nAnd then add a `package.json` file with the following Jest pragma:\n\n```json\n  \"jest\": {\n    \"moduleFileExtensions\": [\"py\"],\n    \"runner\": \"jest-pytest\",\n    \"testPathIgnorePatterns\": [\"snap_.*\\\\.py\"],\n    \"testMatch\": [\"**/?(*_)test.py\"]\n  }\n```\n\nNote that this configuration will work well with Pytest [snapshots](https://github.com/syrusakbary/snapshottest).\n\n# Contributing\n\nFork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).\n\n### Thanks:\n\nTo all [Contributors](https://github.com/jondot/jest-pytest/graphs/contributors) - you make this happen, thanks!\n\n# Copyright\n\nCopyright (c) 2018 [Dotan Nahum](http://gplus.to/dotan) [@jondot](http://twitter.com/jondot). See [LICENSE](LICENSE.txt) for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjest-community%2Fjest-pytest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjest-community%2Fjest-pytest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjest-community%2Fjest-pytest/lists"}