{"id":16958754,"url":"https://github.com/ebazhanov/python-cucumber-junit2html-report","last_synced_at":"2026-05-21T07:11:04.808Z","repository":{"id":215416405,"uuid":"737566526","full_name":"Ebazhanov/python-cucumber-junit2html-report","owner":"Ebazhanov","description":"This project utilizes the junit2html plugin to convert test result files from *.xml format to *.html. Additionally, in the case of multiple test reports, the plugin is used to merge them into a single *.html report file.","archived":false,"fork":false,"pushed_at":"2024-01-18T21:47:05.000Z","size":134,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T09:52:26.572Z","etag":null,"topics":["e2e","junit2html","python","testing","testing-library"],"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/Ebazhanov.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":"2023-12-31T14:51:00.000Z","updated_at":"2024-05-20T10:15:09.000Z","dependencies_parsed_at":"2024-01-07T20:41:39.443Z","dependency_job_id":"7d5321cc-e8ba-4649-bf8f-70c8491e6e6c","html_url":"https://github.com/Ebazhanov/python-cucumber-junit2html-report","commit_stats":null,"previous_names":["ebazhanov/python-cucumber-html-report"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebazhanov%2Fpython-cucumber-junit2html-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebazhanov%2Fpython-cucumber-junit2html-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebazhanov%2Fpython-cucumber-junit2html-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebazhanov%2Fpython-cucumber-junit2html-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ebazhanov","download_url":"https://codeload.github.com/Ebazhanov/python-cucumber-junit2html-report/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244815202,"owners_count":20514912,"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":["e2e","junit2html","python","testing","testing-library"],"created_at":"2024-10-13T22:43:31.427Z","updated_at":"2026-05-21T07:11:04.779Z","avatar_url":"https://github.com/Ebazhanov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![E2E Tests](https://github.com/Ebazhanov/python-cucumber-junit2html-report/actions/workflows/cucumber-tests.yml/badge.svg)](https://github.com/Ebazhanov/python-cucumber-junit2html-report/actions/workflows/cucumber-tests.yml)\n[![junit2html](https://img.shields.io/badge/junit2html-plugin-green?labelColor=gray\u0026style=flat\u0026logo=a)](https://github.com/inorton/junit2html)\n\n## Automated Testing with \"junit2html\" Plugin\n\nThis project utilizes the [junit2html](https://github.com/inorton/junit2html) plugin to convert test result files from `*.xml` format to `*.html`. Additionally, in the case of multiple test reports, the plugin is used to merge them into a single `*.html` report file.\n\n### How to run E2E tests \n- `$ behave **/*.feature --junit`\n\n### How to run Unit tests \n- `$ python -m unittest tests.test_your_module1`\n\n#### Convert Junit to HTML report based on `xml` files\n- Install plugin [junit2html](https://github.com/inorton/junit2html)\n- `$ behave **/*.feature --junit` //Run tests\n- `$ junit2html reports/*.xml --merge=merged_results.xml` // Merge all *.xml files in one\n- `$ junit2html merged_results.xml --report-matrix=summary_report.html` // Generate HTML report\n\n#### Convert Junit to HTML report based on `json` files\n- Can be found in GitHub Actions -\u003e Summary Report\n\n![img.png](img.png)\n\n- Report looks like this:\n\n![img_1.png](img_1.png)\n\n#### Project structure\n\n    python-cucumber/\n    |\n    |-- .github/\n    |   |-- workflows/\n    |       |-- cucumber-test.yml\n    |\n    |-- src/\n    |   |-- your_python_module1.py\n    |\n    |-- tests/\n    |   |-- e2e/\n    |   |   |-- features/\n    |   |   |   |-- steps/\n    |   |   |       |-- steps.py\n    |   |   |   |-- test-01.feature\n    |   |   |   |-- test-02.feature\n    |   |   |-- steps/\n    |   |       |-- steps.py\n    |   |\n    |   |-- unit/\n    |       |-- test_your_module1.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febazhanov%2Fpython-cucumber-junit2html-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febazhanov%2Fpython-cucumber-junit2html-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febazhanov%2Fpython-cucumber-junit2html-report/lists"}