{"id":14969340,"url":"https://github.com/hdorgeval/cucumber6-ts-starter","last_synced_at":"2025-10-26T07:31:22.433Z","repository":{"id":42281121,"uuid":"125202789","full_name":"hdorgeval/cucumber6-ts-starter","owner":"hdorgeval","description":"Starter project to write and debug cucumber-js features in TypeScript language","archived":false,"fork":false,"pushed_at":"2023-01-07T19:11:34.000Z","size":346,"stargazers_count":62,"open_issues_count":8,"forks_count":27,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T16:53:32.945Z","etag":null,"topics":["bdd","cucumber","cucumber-js","gherkin","starter-template","typescript","visual-studio-code","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/hdorgeval.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-14T11:31:59.000Z","updated_at":"2024-04-04T11:28:22.000Z","dependencies_parsed_at":"2023-02-07T22:16:24.293Z","dependency_job_id":null,"html_url":"https://github.com/hdorgeval/cucumber6-ts-starter","commit_stats":null,"previous_names":[],"tags_count":9,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdorgeval%2Fcucumber6-ts-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdorgeval%2Fcucumber6-ts-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdorgeval%2Fcucumber6-ts-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdorgeval%2Fcucumber6-ts-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hdorgeval","download_url":"https://codeload.github.com/hdorgeval/cucumber6-ts-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238284879,"owners_count":19446747,"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":["bdd","cucumber","cucumber-js","gherkin","starter-template","typescript","visual-studio-code","vscode"],"created_at":"2024-09-24T13:41:43.121Z","updated_at":"2025-10-26T07:31:22.136Z","avatar_url":"https://github.com/hdorgeval.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cucumber-ts-starter\n\n[![Build Status](https://travis-ci.org/hdorgeval/cucumber6-ts-starter.svg?branch=master)](https://travis-ci.org/hdorgeval/cucumber6-ts-starter)\n[![Build status](https://ci.appveyor.com/api/projects/status/sp6mbbyjgbw7sc9o?svg=true)](https://ci.appveyor.com/project/hdorgeval/cucumber6-ts-starter)\n\nStarter project to write and debug cucumber-js v6 features in TypeScript language.\n\n!!! this template is intended to work with cucumber-js v6 only. For cucumber-js v7 this template has been migrated in [cucumber7-ts-starter](https://github.com/hdorgeval/cucumber7-ts-starter) !!!\n\n## After cloning the repo\n\n* run the command `npm install`.\n\n## To execute the tests locally\n\n* run the command `npm test`.\n\n## To debug a scenario in Visual Studio Code\n\n* tag the scenario with `@debug`\n* set the breakpoints in the typescript code\n* Start debugging\n\n## To run only specific scenarios\n\n* tag the scenario(s) with `@only`\n* run the command `npm run only`.\n\n## To ignore a scenario\n\n* tag the scenario with `@ignore`\n\n## To check for typescript, linting and gherkin errors\n\n* run the command `npm run build`.\n\n## To view the html report of the last run\n\n* run the command `npm run report`.\n\n## To view the steps usage\n\n* run the command `npm run steps-usage`.\n\n## To create a new step\n\n* first write the Given/When/Then sentence:\n  ```gherkin\n  Given I push \"foo\" on \"bar\"\n  ```\n\n* tag the scenario with `@only`\n\n* run the npm script:\n  ```sh\n  npm run snippets\n  ```\n\n* the script will report the missing step(s): you just need to copy and paste them in the step definitions file:\n\n  ```sh\n  Given('I push {string} on {string}', async function (string, string2) {\n    // Write code here that turns the phrase above into concrete actions\n    return 'pending';\n  });\n  ```\n\n## To use a custom option on the CLI\n\n* add your custom option to the CLI that starts cucumber:\n```sh\n./node_modules/.bin/cucumber-js features/**/*.feature --foo=bar \n```\n* use it at runtime:\n```js\nif (this.cliArgs.foo === 'bar') {\n  // custom code for option --foo=bar\n}\n```\n\n## To use a custom World Objet\n\n* cutomize the given Custom World Object : [custom-world](world/custom-world.ts)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdorgeval%2Fcucumber6-ts-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhdorgeval%2Fcucumber6-ts-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdorgeval%2Fcucumber6-ts-starter/lists"}