{"id":19792074,"url":"https://github.com/xray-app/tutorial-java-testng-selenium","last_synced_at":"2026-05-13T15:40:26.514Z","repository":{"id":50389093,"uuid":"518813567","full_name":"Xray-App/tutorial-java-testng-selenium","owner":"Xray-App","description":"Tutorial for TestNG using Java integrated with Xray and Jira","archived":false,"fork":false,"pushed_at":"2023-03-09T14:42:38.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-11T04:25:54.048Z","etag":null,"topics":["java","jira","selenium","testing","testng","xray"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xray-App.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-28T11:12:11.000Z","updated_at":"2024-09-28T16:09:38.000Z","dependencies_parsed_at":"2023-02-09T03:00:43.727Z","dependency_job_id":null,"html_url":"https://github.com/Xray-App/tutorial-java-testng-selenium","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-java-testng-selenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-java-testng-selenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-java-testng-selenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-java-testng-selenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xray-App","download_url":"https://codeload.github.com/Xray-App/tutorial-java-testng-selenium/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241132301,"owners_count":19915144,"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":["java","jira","selenium","testing","testng","xray"],"created_at":"2024-11-12T07:05:51.564Z","updated_at":"2026-05-13T15:40:26.448Z","avatar_url":"https://github.com/Xray-App.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tutorial with TestNG tests using Selenium Webdriver\n\n[![build workflow](https://github.com/Xray-App/tutorial-java-testng-selenium/actions/workflows/main.yml/badge.svg)](https://github.com/Xray-App/tutorial-java-testng-selenium/actions/workflows/main.yml)\n[![license](https://img.shields.io/badge/License-BSD%203--Clause-green.svg)](https://opensource.org/licenses/BSD-3-Clause)\n[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/Xray-App/community)\n\n## Overview\n\nCode that supports the tutorial [Testing web applications using Selenium and TestNG in Java](https://docs.getxray.app/display/XRAYCLOUD/Testing+web+applications+using+Selenium+and+TestNG+in+Java) showcasing the integration between [Xray Test Management](https://www.getxray.app/) on Jira and TestNG, using Xray related annotations.\n\n## Prerequisites\n\nIn order to run this tutorial, you need to have JDK 11 and Maven; Gradle should also be supported.\nThis tutorial uses the maven package `xray-testng-extensions` which is available on Maven Central repository; previously this package was on GitHub packages but meanwhile it was moved to Maven Central.\n\n## Running\n\nTests can be run using the maven command `mvn`.\n\n```bash\nmvn test\n```\n\nIf you prefer Gradle, it's also possible to run the tests using the command `gradle`.\n\n```bash\ngradle clean testngTest\n```\n\nTests can also run inside a Docker container; local directory should be mounted so that TestNG XML results are stored locally.\n\n```bash\ndocker build . -t tutorial_java_testng_selenium\ndocker run --rm -v $(pwd)/reports:/source/target -t tutorial_java_testng_selenium\n```\n\n## Submitting results to Jira\n\nResults can be submitted to Jira so that they can be shared with the team and their impacts be easily analysed.\nThis can be achieved using [Xray Test Management](https://www.getxray.app/) as shown in further detail in this [tutorial](https://docs.getxray.app/display/XRAYCLOUD/Testing+web+applications+using+Selenium+and+TestNG+in+Java).\n\n## Contact\n\nAny questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's.\nFor Xray specific questions, please contact [Xray's support team](https://jira.getxray.app/servicedesk/customer/portal/2).\n\n## LICENSE\n\n[BSD 3-Clause](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-app%2Ftutorial-java-testng-selenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxray-app%2Ftutorial-java-testng-selenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-app%2Ftutorial-java-testng-selenium/lists"}