{"id":19792075,"url":"https://github.com/xray-app/tutorial-js-mocha-webdriverio","last_synced_at":"2025-07-23T09:35:48.568Z","repository":{"id":119027820,"uuid":"377582965","full_name":"Xray-App/tutorial-js-mocha-webdriverio","owner":"Xray-App","description":"Tutorial with Mocha tests, in NodeJS, using WebDriverIO","archived":false,"fork":false,"pushed_at":"2023-03-10T08:56:31.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-28T15:16:57.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Xray-App.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-06-16T17:53:19.000Z","updated_at":"2023-06-25T18:15:58.000Z","dependencies_parsed_at":"2023-08-14T04:15:16.799Z","dependency_job_id":null,"html_url":"https://github.com/Xray-App/tutorial-js-mocha-webdriverio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Xray-App/tutorial-js-mocha-webdriverio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-mocha-webdriverio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-mocha-webdriverio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-mocha-webdriverio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-mocha-webdriverio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xray-App","download_url":"https://codeload.github.com/Xray-App/tutorial-js-mocha-webdriverio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-mocha-webdriverio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266655660,"owners_count":23963553,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-12T07:05:51.644Z","updated_at":"2025-07-23T09:35:48.559Z","avatar_url":"https://github.com/Xray-App.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tutorial-js-mocha-webdriverio\n[![build workflow](https://github.com/Xray-App/tutorial-js-mocha-webdriverio/actions/workflows/main-cloud.yml/badge.svg)](https://github.com/Xray-App/tutorial-js-mocha-webdriverio/actions/workflows/main-cloud.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\nCode that support the tutorial [Testing web applications using Mocha and WebdriverIO](https://docs.getxray.app/display/XRAYCLOUD/Testing+web+applications+using+Mocha+and+WebdriverIO#) showcasing the integratoin between [Xray Test Management](https://www.getxray.app/) on Jira and JUnit.\n\nThe test automation code implements a basic [Mocha test using WebDriverIO](https://webdriver.io/docs/gettingstarted/)\n\n## Prerequisites\nIn order to run this tutorial you need to have Nodejs and install WebDriverIO test runner.\n```\nnpm install @wdio/cli\n```\nInstall the Junit Framework.\n```\nnpm install @wdio/junit-reporter --save-dev\n```\n\n## Running\nTests can be executed locally with the following command\n```\nnpx wdio run ./wdio.conf.js\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+Mocha+and+WebdriverIO#).\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## References\n\n- [WebDriverIO](https://webdriver.io/docs/gettingstarted/)\n- [How Xray processes NUnit XML reports](https://docs.getxray.app/display/XRAYCLOUD/Taking+advantage+of+NUnit+XML+reports)\n\n\n## LICENSE\n\n[BSD 3-Clause](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-app%2Ftutorial-js-mocha-webdriverio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxray-app%2Ftutorial-js-mocha-webdriverio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-app%2Ftutorial-js-mocha-webdriverio/lists"}