{"id":15527193,"url":"https://github.com/qaf-tm/qaf-cucumber","last_synced_at":"2026-03-17T13:40:58.807Z","repository":{"id":56094493,"uuid":"71553054","full_name":"qaf-tm/qaf-cucumber","owner":"qaf-tm","description":"QAF BDD2 with cucumber runner","archived":false,"fork":false,"pushed_at":"2023-08-27T06:58:11.000Z","size":2903,"stargazers_count":6,"open_issues_count":4,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-23T12:15:09.793Z","etag":null,"topics":["bdd2","cucumber","java","qaf","qaf-bdd","qaf-cucumber","selenium-webdriver","test-automation","testng"],"latest_commit_sha":null,"homepage":"","language":"Java","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/qaf-tm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-21T09:52:26.000Z","updated_at":"2024-12-05T22:09:26.000Z","dependencies_parsed_at":"2024-12-07T10:03:00.586Z","dependency_job_id":"d297ce13-02d1-4534-8b50-4ab77679af70","html_url":"https://github.com/qaf-tm/qaf-cucumber","commit_stats":{"total_commits":64,"total_committers":2,"mean_commits":32.0,"dds":0.015625,"last_synced_commit":"9f4b5e90d56e93c01aa2d8a018c4d39ace7b0b1f"},"previous_names":["qaf-tm/qaf-cucumber"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaf-tm%2Fqaf-cucumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaf-tm%2Fqaf-cucumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaf-tm%2Fqaf-cucumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaf-tm%2Fqaf-cucumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qaf-tm","download_url":"https://codeload.github.com/qaf-tm/qaf-cucumber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250430598,"owners_count":21429324,"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":["bdd2","cucumber","java","qaf","qaf-bdd","qaf-cucumber","selenium-webdriver","test-automation","testng"],"created_at":"2024-10-02T11:04:57.615Z","updated_at":"2026-03-17T13:40:58.722Z","avatar_url":"https://github.com/qaf-tm.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/github/license/qmetry/qaf-cucumber.svg)](http://www.opensource.org/licenses/mit-license.php)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.qmetry/qaf-cucumber/badge.svg)](https://mvnrepository.com/artifact/com.qmetry/qaf-cucumber/latest)\n[![javadoc](https://javadoc.io/badge2/com.qmetry/qaf-cucumber/javadoc.svg)](https://javadoc.io/doc/com.qmetry/qaf-cucumber)\n# qaf-cucumber\nThis plug-in can be used for any of the following purpose:\n \n * Use cucumber steps with QAF\n * Use cucumber runner and all QAF BDD2 features\n \n## How to use\nAdd [dependency](https://mvnrepository.com/artifact/com.qmetry/qaf-cucumber/2.1.15-beta-2) in your project.\n### IVY\n```\n\u003c!-- https://mvnrepository.com/artifact/com.qmetry/qaf-cucumber --\u003e\n\u003cdependency org=\"com.qmetry\" name=\"qaf-cucumber\" rev=\"version\"/\u003e\n```\n### Maven\n```\n\u003c!-- https://mvnrepository.com/artifact/com.qmetry/qaf-cucumber --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.qmetry\u003c/groupId\u003e\n    \u003cartifactId\u003eqaf-cucumber\u003c/artifactId\u003e\n    \u003cversion\u003eversion\u003c/version\u003e\n\u003c/dependency\u003e\n```\n \nThis plug-in will work with cucumber 5+. \n### Why BDD2 syntax\n`BDD2` is super set of `Gherkin` syntax. Following are **additional features** in `BDD2` in addition to `Gherkin`:\n * Custom Meta-Data\n * Parameter support in step argument\n * Examples from external source (`CSV`, `XML`, `JSON`, `EXCEL`, `DB`) with filter options\n\n### Using qaf-cucumber with QAF BDD runner\nWhen you are using QAF BDD runner you can use Cucumber 5 steps with QAF BDD or BDD2 or Gherkin. \n\n##### Why QAF BDD runner\n * Native TestNG implemenatation (All features of testNG)\n * Multiple syntax support (QAF BDD, BDD2, Gherkin)\n * Step Meta-data support\n * Step retry support\n * Supports step defined in BDD (non Java steps)\n * Verification (also known as soft-assert) support\n * Detailed live reporting\n * TestNG Execution configuration\n \n Belwo is basic TestNG configuration:\n ```xml\n \u003csuite name=\"QAF Demo\" parallel=\"methods\" verbose=\"0\"\u003e\n \u003ctest name=\"QAF-BDD-Test\"\u003e\n   \u003cparameter name=\"step.provider.pkg\" value=\"pkg.to.look.for.steps\" /\u003e\n   \u003cparameter name=\"scenario.file.loc\" value=\"resources/features\" /\u003e\n   \u003cclasses\u003e\n      \u003cclass name=\"com.qmetry.qaf.automation.step.client.text.BDDTestFactory2\" /\u003e\n   \u003c/classes\u003e\n\u003c/test\u003e\n\u003c/suite\u003e\n```\n Refer [documentation](https://qmetry.github.io/qaf/latest/bdd-configuration.html) for more details.\n \n### Using qaf-cucumber with Cucumber runner\nWhen you want to use cucumber or cucumber runner you can get support of `BDD2` and QAF [detailed reporting](https://qmetry.github.io/qaf/latest/qaf_reporting.html). \n\n##### QAF Over Cucumber \n Following are **additional features** when used Cucumber with QAF:\n * `BDD2` Support\n * [Example from external file](https://qmetry.github.io/qaf/latest/bdd2.html#data-driven-scenario).\n * Verification support\n * [Resource Management](https://qmetry.github.io/qaf/latest/managing_resources_for_different_env.html)\n * QAF [detailed reporting](https://qmetry.github.io/qaf/latest/qaf_reporting.html)\n * Integration with third party tools\n * QAF backend (like cucumber-java and cucumber-java8 backend)\n * Inbuilt Web/MObile/Web-service functional test automation support\n \nRequired to add cucumber plugin `com.qmetry.qaf.automation.cucumber.QAFCucumberPlugin` to get above features with cucumber. Below is example with Junit\n\n```\n@RunWith(Cucumber.class)\n@CucumberOptions(plugin = {\"com.qmetry.qaf.automation.cucumber.QAFCucumberPlugin\"}, \u003cother options\u003e)//\npublic class RunCucumberTest {\n}\n```\nIf you don't have qaf dashboard in your project, add it from [here](https://github.com/infostretch/qaf-report) for detailed report generated by QAFCucumberPlugin.\n\nRefer [QAF](https://qmetry.github.io/) documentation to learn more about QAF.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqaf-tm%2Fqaf-cucumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqaf-tm%2Fqaf-cucumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqaf-tm%2Fqaf-cucumber/lists"}