{"id":23357307,"url":"https://github.com/eshaagarwa/bdd-framework-testin_cucumberg","last_synced_at":"2025-06-19T17:35:39.774Z","repository":{"id":266324888,"uuid":"898035234","full_name":"eshaagarwa/BDD-Framework-Testin_Cucumberg","owner":"eshaagarwa","description":"bdd framework for testing ","archived":false,"fork":false,"pushed_at":"2024-12-03T17:17:58.000Z","size":66739,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T20:13:08.677Z","etag":null,"topics":["postman-api","selenium","test-automation","test-driven-development","testfaremwork","testreporting"],"latest_commit_sha":null,"homepage":"","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/eshaagarwa.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":"2024-12-03T17:10:05.000Z","updated_at":"2024-12-03T17:21:14.000Z","dependencies_parsed_at":"2024-12-03T18:36:37.878Z","dependency_job_id":null,"html_url":"https://github.com/eshaagarwa/BDD-Framework-Testin_Cucumberg","commit_stats":null,"previous_names":["eshaagarwa/bdd-framework-testin_cucumberg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eshaagarwa/BDD-Framework-Testin_Cucumberg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaagarwa%2FBDD-Framework-Testin_Cucumberg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaagarwa%2FBDD-Framework-Testin_Cucumberg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaagarwa%2FBDD-Framework-Testin_Cucumberg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaagarwa%2FBDD-Framework-Testin_Cucumberg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eshaagarwa","download_url":"https://codeload.github.com/eshaagarwa/BDD-Framework-Testin_Cucumberg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaagarwa%2FBDD-Framework-Testin_Cucumberg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260797386,"owners_count":23064764,"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":["postman-api","selenium","test-automation","test-driven-development","testfaremwork","testreporting"],"created_at":"2024-12-21T10:20:03.684Z","updated_at":"2025-06-19T17:35:34.755Z","avatar_url":"https://github.com/eshaagarwa.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e# Cucumber-BDD-Automation-Framework\u003c/h1\u003e\n\u003ch2\u003eBehavior Driven Development Cucumber - Selenium based automation framework including Allure reports\u003c/h2\u003e\n\n\u003ch2\u003eThis framework contains sample code containing:\u003c/h2\u003e\n\t\u003cul\u003e\u003cli\u003e1 feature (feature file)\u003c/li\u003e\u003c/ul\u003e\n\t\u003cul\u003e\u003cli\u003e2 Scenarios\u003c/li\u003e\n\t\u003cli\u003eSimple scenario login scenario and adding products to carts\u003c/li\u003e\n\t\u003cli\u003eAdvance scenario where parameterization has been used (Scenario Outline examples) to search different types of products and listing out them\u003c/li\u003e\u003c/ul\u003e\n\t  \n\u003ch2\u003eDirectory structure:\u003c/h2\u003e\n\u003cbr\u003e\n\u003cimg src=\"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/directoryStructure.PNG\" title = \"directory structure\"/\u003e\n\n\u003cbr\u003e\n\n\u003ch2\u003eSteps to run at your system:\u003c/h2\u003e\n\t\u003cul\u003e\n\t\u003cli\u003eClone the repository using \"git clone \u003crepository url\u003e\"\u003c/li\u003e\n\t\u003cli\u003eChange \"Username\" and \"Password\" in both scenarios in feature file\u003c/li\u003e\n\t\u003cli\u003eRun \"mvn clean test\"\u003c/li\u003e\n\t\u003cli\u003eRun \"mvn site\"\u003c/li\u003e\n\t\u003c/ul\u003e\n\t\n\u003ch2\u003eCucumber Reports: net.masterthought - This will generate two reports\u003c/h2\u003e\n\t\u003cul\u003e\n\t\u003cli\u003eCucumber Pretty (folder - \"target\\cucumber-reports\\cucumber-pretty\"), file - \"index.html\"\u003c/li\u003e\n\t\u003cli\u003eCucumber Advance (folder - \"target\\cucumber-reports\\advanced-reports\\cucumber-html-reports\"), file - \"overview-features.html\"\t\u003c/li\u003e\n\t\u003c/ul\u003e\n\t\u003cbr\u003e\n\u003ch2\u003eFolders for these reports:\u003c/h2\u003e\n\u003cbr\u003e\n\u003cimg src = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/cucumber-pretty-advanced.PNG\" title = \"cucumber pretty and advanced\"/\u003e\n\u003cbr\u003e\n\n\u003ch2\u003eSnapshots - Cucumber - Pretty - Report: See here \u003c/h2\u003e\n\u003cbr\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/cucumber-pretty1.PNG\" title = \"cucumber pretty and advanced\"\u003eCucumber-pretty summarized\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/cucucmber-pretty.pdf\" title = \"cucumber pretty and advanced\"\u003eCucumber-pretty expanded\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eSnapshots - Cucumber - Advanced - Report: See here \u003c/h2\u003e\n\u003cbr\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/cucumber-advanced2.PNG\" title = \"cucumber pretty and advanced\"\u003eCucumber-advance summarized\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/cucumber-advance.pdf\" title = \"cucumber pretty and advanced\"\u003eCucumber-advance expanded\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cbr\u003e\n\t\n\u003ch2\u003eSee configuration in \"pom.xml\" file\u003c/h2\u003e\n\n\t\u003cplugin\u003e\n\t\u003cgroupId\u003enet.masterthought\u003c/groupId\u003e\n\t\u003cartifactId\u003emaven-cucumber-reporting\u003c/artifactId\u003e\n\t\u003cversion\u003e3.8.0\u003c/version\u003e\n\t\u003cexecutions\u003e\n\t\t\u003cexecution\u003e\n\t\t\t\u003cid\u003eexecution\u003c/id\u003e\n\t\t\t\u003cphase\u003everify\u003c/phase\u003e\n\t\t\t\u003cgoals\u003e\n\t\t\t\t\u003cgoal\u003egenerate\u003c/goal\u003e\n\t\t\t\u003c/goals\u003e\n\t\t\t\u003cconfiguration\u003e\n\t\t\t\t\u003cprojectName\u003eMyProjectName\u003c/projectName\u003e\n\t\t\t\t\u003c!-- Replace with project name --\u003e\n\t\t\t\t\u003coutputDirectory\u003etarget/cucumber-reports/advanced-reports\u003c/outputDirectory\u003e\n\t\t\t\t\u003ccucumberOutput\u003etarget/cucumber-reports/CucumberTestReport.json\u003c/cucumberOutput\u003e\n\t\t\t\t\u003cbuildNumber\u003e1\u003c/buildNumber\u003e\n\t\t\t\t\u003cparallelTesting\u003efalse\u003c/parallelTesting\u003e\n\t\t\t\t\u003cenableFlashCharts\u003efalse\u003c/enableFlashCharts\u003e\n\t\t\t\t\u003cskippedFails\u003etrue\u003c/skippedFails\u003e\n\t\t\t\u003c/configuration\u003e\n\t\t\u003c/execution\u003e\n\t\u003c/executions\u003e\n\t\u003c/plugin\u003e\n\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\u003ch2\u003eAllure Report:\u003c/h2\u003e Allure reports will be generated based on the testcases json files when you'll run \"mvn site\". \n\u003ch3\u003eAdd this Allure dependency in pom.xml:\u003c/h3\u003e\n\n\t\u003cdependency\u003e\n\t\t\u003cgroupId\u003eru.yandex.qatools.allure\u003c/groupId\u003e\n\t\t\u003cartifactId\u003eallure-cucumber-jvm-adaptor\u003c/artifactId\u003e\n\t\t\u003cversion\u003e1.6.2\u003c/version\u003e\n\t\u003c/dependency\u003e\n\n\t\n\u003ch3\u003eAdd this under Maven Surefire plugin:\u003c/h3\u003e\n\n\t\u003cargLine\u003e\n\t\tjavaagent:\"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar\"                     -Dcucumber.options=\"--plugin ru.yandex.qatools.allure.cucumberjvm.AllureReporter\"\n\t\u003c/argLine\n\n\t\n\u003ch3\u003eAnd this under \"project xml\" tag\u003c/h3\u003e\t\n\n\t\u003creporting\u003e\n\t\t\u003cexcludeDefaults\u003etrue\u003c/excludeDefaults\u003e\n\t\t\u003cplugins\u003e\n\t\t\t\u003cplugin\u003e\n\t\t\t\t\u003cgroupId\u003eru.yandex.qatools.allure\u003c/groupId\u003e\n\t\t\t\t\u003cartifactId\u003eallure-maven-plugin\u003c/artifactId\u003e\n\t\t\t\t\u003cversion\u003e2.5\u003c/version\u003e\n\t\t\t\u003c/plugin\u003e\n\t\t\u003c/plugins\u003e\n\t\u003c/reporting\u003e\n\t\n\u003cbr\u003e\u003cbr\u003e\n\u003ch3\u003eYou will be able to locate the report in folder : \"target\\site\\allure-maven-plugin\", the \"Index.html\" file. \u003c/h3\u003e\n\n\u003cbr\u003e\n\u003cimg src = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/allure-report.PNG\" title = \"allure report folder\"/\u003e\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\u003ch3\u003eYou can either open it through Firefox or on a local server. I had used \"Jetty server\", using this command: \"mvn jetty:run\". And then open url in your any browser \"http://localhost:8080\" and there you go.\u003c/h3\u003e\n\n\u003cb\u003eMVN Jetty configuration is to be done in pom.xml if want to use it:\u003c/b\u003e\n\n\t\u003c!--Needed only to show reports locally. Run jetty:run and open localhost:8080 to show the report --\u003e\n\t\u003cplugin\u003e\n\t\t\u003cgroupId\u003eorg.eclipse.jetty\u003c/groupId\u003e\n\t\t\u003cartifactId\u003ejetty-maven-plugin\u003c/artifactId\u003e\n\t\t\u003cversion\u003e9.2.10.v20150310\u003c/version\u003e\n\t\t\u003cconfiguration\u003e\n\t\t\t\u003cwebAppSourceDirectory\u003e${project.build.directory}/site/allure-maven-plugin\u003c/webAppSourceDirectory\u003e\n\t\t\t\u003cstopKey\u003estop\u003c/stopKey\u003e\n\t\t\t\u003cstopPort\u003e1234\u003c/stopPort\u003e\n\t\t\u003c/configuration\u003e\n\t\u003c/plugin\u003e\n\n\u003ch2\u003eExample snapshot of Allure report: \u003c/h2\u003e\n\n\u003cul\u003e\u003cb\u003e\n\u003cli\u003eallure-xunit view\u003cbr\u003e\u003cbr\u003e\n\u003cimg src = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/allure-xunit.PNG\" title = \"allure-xunit view\"/\u003e\u003c/li\u003e\u003cbr\u003e\u003cbr\u003e\n\u003cli\u003eallure-xunit1 view\u003cbr\u003e\u003cbr\u003e\n\u003cimg src = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/allure-xunit1.PNG\" title = \"allure-xunit1 view\"/\u003e\u003c/li\u003e\u003cbr\u003e\u003cbr\u003e\n\u003cli\u003eallure-xunit2 view\u003cbr\u003e\u003cbr\u003e\n\u003cimg src = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/allure-xunit2.PNG\" title = \"allure-xunit2 view\"/\u003e\u003c/li\u003e\u003cbr\u003e\u003cbr\u003e\n\u003cli\u003eallure-behavior1 view\u003cbr\u003e\u003cbr\u003e\n\u003cimg src = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/behavior1.PNG\" title = \"allure-behavior1 view\"/\u003e\u003c/li\u003e\u003cbr\u003e\u003cbr\u003e\n\u003cli\u003eallure-behavior2 view\u003cbr\u003e\u003cbr\u003e\n\u003cimg src = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/behavior2.PNG\" title = \"allure-behavior2 view\"/\u003e\u003c/li\u003e\u003cbr\u003e\u003cbr\u003e\n\u003cli\u003eallure-graph view\u003cbr\u003e\u003cbr\u003e\n\u003cimg src = \"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/images/allure-graph.png\" title = \"allure-graph view\"/\u003e\u003c/li\u003e\u003cbr\u003e\u003cbr\u003e\n\u003c/b\u003e\u003c/ul\u003e\n\n\u003ch3\u003eAdded a sample Execution Video and Generated Reports, See here: \n\u003ca width=\"400px\" height=\"200px\" href=\"https://github.com/rohinegi548/Cucumber-BDD-Automation-Framework/blob/master/Execution%20Demo.mp4\"\u003eHerexecution Video and Generated Reports\u003c/a\u003e\u003c/h3\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshaagarwa%2Fbdd-framework-testin_cucumberg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feshaagarwa%2Fbdd-framework-testin_cucumberg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshaagarwa%2Fbdd-framework-testin_cucumberg/lists"}