{"id":18055716,"url":"https://github.com/buzz/pytest-html-example","last_synced_at":"2026-02-13T11:19:30.879Z","repository":{"id":66533579,"uuid":"340523411","full_name":"buzz/pytest-html-example","owner":"buzz","description":"pytest-html report example","archived":false,"fork":false,"pushed_at":"2021-02-20T00:39:36.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T14:49:09.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/buzz.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":"2021-02-20T00:30:25.000Z","updated_at":"2021-02-20T00:39:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe15a3cc-6796-4005-8a7e-c2a81331f4d8","html_url":"https://github.com/buzz/pytest-html-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buzz/pytest-html-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Fpytest-html-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Fpytest-html-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Fpytest-html-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Fpytest-html-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buzz","download_url":"https://codeload.github.com/buzz/pytest-html-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Fpytest-html-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29403743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-31T01:11:36.774Z","updated_at":"2026-02-13T11:19:30.839Z","avatar_url":"https://github.com/buzz.png","language":"HTML","readme":"# pytest + pytest-html\n\nTest repository for [StackOverflow question PyTest: Interactive Output (instead\nof pure\nASCII)](https://stackoverflow.com/questions/66225251/pytest-interactive-output-instead-of-pure-ascii).\n\n```\n$ pip install -r requirements.txt\n$ pytest --showlocals --html=report.html --self-contained-html testmodule/test.py\n=================================== test session starts ====================================\nplatform linux -- Python 3.9.1, pytest-6.2.2, py-1.10.0, pluggy-0.13.1\nrootdir: /tmp/test\nplugins: html-3.1.1, metadata-1.11.0\ncollected 2 items\n\ntestmodule/test.py F.                                                                [100%]\n\n========================================= FAILURES =========================================\n_________________________________________ test_add _________________________________________\n\n    def test_add():\n        foo = 10\n        bar = 12\n\u003e       assert add(foo, bar) == 22\nE       assert -2 == 22\nE        +  where -2 = add(10, 12)\n\nbar        = 12\nfoo        = 10\n\ntestmodule/test.py:12: AssertionError\n-------------------- generated html file: file:///tmp/test/report.html ---------------------\n================================= short test summary info ==================================\nFAILED testmodule/test.py::test_add - assert -2 == 22\n=============================== 1 failed, 1 passed in 0.02s ================================\n```\n\nThis will generate a `report.html` for you.\n\n![HTML report example](https://i.stack.imgur.com/90SvZ.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzz%2Fpytest-html-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuzz%2Fpytest-html-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzz%2Fpytest-html-example/lists"}