{"id":20502022,"url":"https://github.com/iambalabharathi/nxgreport","last_synced_at":"2025-04-10T22:38:59.809Z","repository":{"id":47690751,"uuid":"293171077","full_name":"iambalabharathi/nxgreport","owner":"iambalabharathi","description":"A ruby gem to generate a clean \u0026 beautiful e-mailable test report (13643 Downloads)","archived":false,"fork":false,"pushed_at":"2023-06-16T11:35:02.000Z","size":24747,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T16:18:49.892Z","etag":null,"topics":["cucumber","dashboard","gem","report","ruby","test-reporting"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/iambalabharathi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-05T23:37:22.000Z","updated_at":"2024-05-08T13:33:54.000Z","dependencies_parsed_at":"2023-07-14T21:02:08.388Z","dependency_job_id":null,"html_url":"https://github.com/iambalabharathi/nxgreport","commit_stats":null,"previous_names":["iambalabharathi/nxgreport-ruby"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iambalabharathi%2Fnxgreport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iambalabharathi%2Fnxgreport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iambalabharathi%2Fnxgreport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iambalabharathi%2Fnxgreport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iambalabharathi","download_url":"https://codeload.github.com/iambalabharathi/nxgreport/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312126,"owners_count":21082635,"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":["cucumber","dashboard","gem","report","ruby","test-reporting"],"created_at":"2024-11-15T19:19:01.243Z","updated_at":"2025-04-10T22:38:59.792Z","avatar_url":"https://github.com/iambalabharathi.png","language":"Ruby","funding_links":["https://www.buymeacoffee.com/iambalabharathi"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003ca href=\"https://github.com/balabharathijayaraman/nxgreport\"\u003e\n        \u003cimg src=\"./docs/Nxg.gif\" alt=\"Markdownify\" width=\"200\"\u003e\n    \u003c/a\u003e\n    \u003cbr\u003e Next Gen Report 💎 \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#\"\u003e\n        \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/balabharathijayaraman/nxgreport?color=blue\" height=\"18\"\u003e\n    \u003c/a\u003e\n    \u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://github.com/iambalabharathi/nxgreport/actions/workflows/ci-build-test-publish.yml\"\u003e\n        \u003cimg src=\"https://github.com/iambalabharathi/nxgreport/actions/workflows/ci-build-test-publish.yml/badge.svg?branch=main\" alt=\"Pipeline Status\" height=\"18\"\u003e\n    \u003c/a\u003e\n    \u0026nbsp;\u0026nbsp;\n    \u003ca href=\"#\"\u003e\n        \u003cimg alt=\"Ruby Version\" src=\"https://img.shields.io/badge/ruby version-2.3.0-red\" height=\"18\"\u003e\n    \u003c/a\u003e\n    \u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://badge.fury.io/rb/nxgreport\"\u003e\n        \u003cimg src=\"https://badge.fury.io/rb/nxgreport.svg\" alt=\"Gem Version\" height=\"18\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003ch4 align=\"center\"\u003e\n    A simple light weighted gem to generate a beautiful e-mailable test report. (7500+ Downloads)\u003c/h4\u003e\n\u003cp align=\"center\"\u003e\n    Generates a static site (Supports Dark 🌓 mode).\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#demo\"\u003eDemo\u003c/a\u003e •\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n  \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## **Demo**\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./docs/light-summary.png\" alt=\"Markdownify\" width=\"800\"\u003e\n    \u003cbr/\u003e\n    \u003cbr/\u003e\n    \u003cimg src=\"./docs/dark-summary.png\" alt=\"Markdownify\" width=\"800\"\u003e\n\u003c/div\u003e\n\n## **Installation**\n\n    gem install nxgreport\n\n## **Usage**\n\n```ruby\nrequire 'nxgreport'\n\n$NxgReport.setup(location: \"Absolute file path\", title: \"My Report\")\n\n$NxgReport.set_device(name: \"iPhone X\")\n$NxgReport.set_os(name: \"iOS 12.1\")\n$NxgReport.set_release(name: \"M09 2020\")\n$NxgReport.set_app_version(no: \"app0.9.1\")\n$NxgReport.set_environment(name: \"QA\")\n\n$NxgReport.log_test(\n        feature_name: \"Feature Name\",\n        test_name: \"This is a test\",\n        test_status: \"Pass/Fail\",\n        comments: \"Error message or additional comments about the test\",\n        tag: \"critical\")\n\n$NxgReport.build()\n```\n\n## **Cucumber-Ruby Usage**\n\nIn `env.rb` add the below line\n\n```ruby\nrequire 'nxgreport'\n\n$NxgReport.setup(location: \"Absolute file path\", title: \"My Report\")\n\n$NxgReport.set_device(name: \"iPhone X\")\n$NxgReport.set_os(name: \"iOS 12.1\")\n$NxgReport.set_release(name: \"M09 2020\")\n$NxgReport.set_app_version(no: \"app0.9.1\")\n$NxgReport.set_environment(name: \"QA\")\n```\n\nIn `hooks.rb` add the below block of code.\n\n```ruby\nAfter do |scenario|\n\n    feature_name = scenario.feature.name\n    scenario_status = !scenario.failed?() ? \"Pass\" : \"Fail\"\n    comments = (scenario.exception.nil?) ? \"Success\" : scenario.exception.message\n\n    $NxgReport.log_test(\n            feature_name: feature_name,\n            test_name: scenario.name,\n            test_status: scenario_status,\n            comments: comments,\n            tag: \"critical\")\nend\n\nat_exit do\n    $NxgReport.build()\nend\n```\n\n## **Like it?**\n\n\u003ca href=\"https://www.buymeacoffee.com/iambalabharathi\" target=\"_blank\"\u003e\u003cimg src=\"https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\n## **License**\n\nCopyright © 2020 [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiambalabharathi%2Fnxgreport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiambalabharathi%2Fnxgreport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiambalabharathi%2Fnxgreport/lists"}