{"id":15174180,"url":"https://github.com/webdriverio-boneyard/wdio-cucumber-framework","last_synced_at":"2025-10-01T12:30:41.519Z","repository":{"id":57118898,"uuid":"42413051","full_name":"webdriverio-boneyard/wdio-cucumber-framework","owner":"webdriverio-boneyard","description":"A WebdriverIO v4 plugin. Adapter for Cucumber testing framework.","archived":true,"fork":false,"pushed_at":"2019-03-27T06:49:19.000Z","size":406,"stargazers_count":77,"open_issues_count":21,"forks_count":61,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-05-21T02:59:00.382Z","etag":null,"topics":["cucumber","cucumber-tests","cucumberjs","webdriverio","webdriverio-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/webdriverio-boneyard.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":"2015-09-13T21:09:50.000Z","updated_at":"2023-05-25T07:34:22.000Z","dependencies_parsed_at":"2022-08-23T15:31:09.095Z","dependency_job_id":null,"html_url":"https://github.com/webdriverio-boneyard/wdio-cucumber-framework","commit_stats":null,"previous_names":["webdriverio/wdio-cucumber-framework"],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio-boneyard%2Fwdio-cucumber-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio-boneyard%2Fwdio-cucumber-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio-boneyard%2Fwdio-cucumber-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdriverio-boneyard%2Fwdio-cucumber-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdriverio-boneyard","download_url":"https://codeload.github.com/webdriverio-boneyard/wdio-cucumber-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219435440,"owners_count":16487830,"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","cucumber-tests","cucumberjs","webdriverio","webdriverio-plugin"],"created_at":"2024-09-27T11:40:28.519Z","updated_at":"2025-10-01T12:30:41.190Z","avatar_url":"https://github.com/webdriverio-boneyard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"WDIO Cucumber Framework Adapter\n===============================\n\n[![Build Status](https://travis-ci.org/webdriverio/wdio-cucumber-framework.svg?branch=master)](https://travis-ci.org/webdriverio/wdio-cucumber-framework) [![Test Coverage](https://codeclimate.com/github/webdriverio/wdio-cucumber-framework/badges/coverage.svg)](https://codeclimate.com/github/webdriverio/wdio-cucumber-framework/coverage) [![dependencies Status](https://david-dm.org/webdriverio/wdio-cucumber-framework/status.svg)](https://david-dm.org/webdriverio/wdio-cucumber-framework)\n\n***\n\n\u003e A WebdriverIO plugin. Adapter for CucumberJS v4 testing framework. To use v2 install this package with v1.1.1 and to use v1 with v0.3.1.\n\n## Installation\n\nThe easiest way is to keep `wdio-cucumber-framework` as a devDependency in your `package.json`.\n\n```json\n{\n  \"devDependencies\": {\n    \"wdio-cucumber-framework\": \"~2.0.0\"\n  }\n}\n```\n\nYou can simple do it by:\n\n```bash\nnpm install wdio-cucumber-framework --save-dev\n```\n\nInstructions on how to install `WebdriverIO` can be found [here.](http://webdriver.io/guide/getstarted/install.html)\n\n\n## Configuration\n\nFollowing code shows the default wdio test runner configuration...\n\n```js\n// wdio.conf.js\nmodule.exports = {\n  // ...\n  framework: 'cucumber',\n  cucumberOpts: {\n    timeout: 10000\n  }\n  // ...\n};\n```\n\n## `cucumberOpts` Options\n\n### backtrace\nShow full backtrace for errors.\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\n### compiler\nRequire files with the given EXTENSION after requiring MODULE.\n\nType: `String[]`\u003cbr\u003e\nDefault: `*[]*`\u003cbr\u003e\nExample: `['js:babel-core/register']`\u003cbr\u003e\nTo passe options to the compiler use `[[String, options]]`\u003cbr\u003e\nExample: `[ ['js:babel-register', { ignore: [] }] ]`\n\n### failAmbiguousDefinitions\n**Please note that this is a wdio-cucumber-framework specific option and not recognized by cucumber-js itself**\nTreat ambiguous definitions as errors.\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\n### failFast\nAbort the run on first failure.\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\n### ignoreUndefinedDefinitions\n**Please note that this is a wdio-cucumber-framework specific option and not recognized by cucumber-js itself**\nTreat undefined definitions as warnings.\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\n### name\nOnly execute the scenarios with name matching the expression (repeatable).\n\nType: `REGEXP[]`\u003cbr\u003e\nDefault: `[]`\n\n### profile\nSpecify the profile to use.\n\nType: `String[]`\u003cbr\u003e\nDefault: `[]`\n\n### require\nRequire files containing your step definitions before executing features. You can also specify a glob to your step definitions.\n\nType: `String[]`\u003cbr\u003e\nDefault: `[]`\u003cbr\u003e\nExample: `[path.join(__dirname, 'step-definitions', 'my-steps.js')]`\n\n### snippetSyntax\nSpecify a custom snippet syntax.\n\nType: `String`\u003cbr\u003e\nDefault: `undefined`\n\n### snippets\nHide step definition snippets for pending steps.\n\nType: `Boolean`\u003cbr\u003e\nDefault: `true`\n\n### source\nHide source uris.\n\nType: `Boolean`\u003cbr\u003e\nDefault: `true`\n\n### strict\nFail if there are any undefined or pending steps\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\n### tagExpression\nOnly execute the features or scenarios with tags matching the expression. Note that untagged\nfeatures will still spawn a Selenium session (see issue [webdriverio/webdriverio#1247](https://github.com/webdriverio/webdriverio/issues/1247)).\nPlease see the [Cucumber documentation](https://docs.cucumber.io/cucumber/api/#tag-expressions) for more details.\n\nType: `String`\u003cbr\u003e\nDefault: ``\n\n### tagsInTitle\nAdd cucumber tags to feature or scenario name\n\nType: `Boolean[]`\u003cbr\u003e\nDefault: `false`\n\n### timeout\nTimeout in milliseconds for step definitions.\n\nType: `Number`\u003cbr\u003e\nDefault: `30000`\n\n\n## Development\n\nAll commands can be found in the package.json. The most important are:\n\nWatch changes:\n\n```sh\n$ npm run watch\n```\n\nRun tests:\n\n```sh\n$ npm test\n\n# run test with coverage report:\n$ npm run test:cover\n```\n\nBuild package:\n\n```sh\n$ npm build\n```\n\n----\n\nFor more information on WebdriverIO see the [homepage](http://webdriver.io).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdriverio-boneyard%2Fwdio-cucumber-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdriverio-boneyard%2Fwdio-cucumber-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdriverio-boneyard%2Fwdio-cucumber-framework/lists"}