{"id":14969354,"url":"https://github.com/hdorgeval/cucumber7-ts-starter","last_synced_at":"2025-10-26T07:31:30.852Z","repository":{"id":45126041,"uuid":"327409572","full_name":"hdorgeval/cucumber7-ts-starter","owner":"hdorgeval","description":"Starter project to write and debug cucumber-js features in TypeScript language","archived":false,"fork":false,"pushed_at":"2022-12-27T02:26:09.000Z","size":265,"stargazers_count":48,"open_issues_count":3,"forks_count":22,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T16:53:51.765Z","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":"mit","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-06T19:25:29.000Z","updated_at":"2024-12-18T15:25:31.000Z","dependencies_parsed_at":"2023-01-31T02:15:34.219Z","dependency_job_id":null,"html_url":"https://github.com/hdorgeval/cucumber7-ts-starter","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdorgeval%2Fcucumber7-ts-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdorgeval%2Fcucumber7-ts-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdorgeval%2Fcucumber7-ts-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdorgeval%2Fcucumber7-ts-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hdorgeval","download_url":"https://codeload.github.com/hdorgeval/cucumber7-ts-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238284890,"owners_count":19446748,"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:44.217Z","updated_at":"2025-10-26T07:31:25.568Z","avatar_url":"https://github.com/hdorgeval.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cucumber7-ts-starter\n\n[![Build Status](https://travis-ci.org/hdorgeval/cucumber7-ts-starter.svg?branch=main)](https://travis-ci.org/hdorgeval/cucumber7-ts-starter)\n[![Build status](https://ci.appveyor.com/api/projects/status/v7ing1c5m9fr0fjf?svg=true)](https://ci.appveyor.com/project/hdorgeval/cucumber7-ts-starter)\n\nStarter project to write and debug cucumber-js v7 features in TypeScript language\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 choose a reporter\n\nThe last reporter/formatter found on the cucumber-js command-line wins:\n\n```text\n--format summary --format @cucumber/pretty-formatter --format cucumber-console-formatter\n```\n\nIn [package.json](package.json) file, modify the `cucumber` script to keep only your preferred formatter.\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 steps usage\n\n- run the command `npm run steps-usage`.\n\n## To view the html report of the last run\n\n- run the command `npm run report`.\n\n## To create a new step\n\n- first write the Given/When/Then sentence:\n\n  ```gherkin\n  Given I push \"foo\" on \"bar\"\n  ```\n\n- run the npm script:\n\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\nWith cucumber-js v7, you cannot have anymore custom options on the CLI.\nThis is a breaking change with cucumber-js v6.\n\nYou must instead use environment variables.\n\nWhen running your tests localy, you can setup environment variables by customizing the file [set-environment-variables.ts](env/set-environment-variables.ts).\n\nWhen running on a CI, you should setup your jobs with the expected environment variables.\n\n## To use a custom World Objet\n\n- cutomize the given Custom World Object : [custom-world](world/custom-world.ts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdorgeval%2Fcucumber7-ts-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhdorgeval%2Fcucumber7-ts-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdorgeval%2Fcucumber7-ts-starter/lists"}