Skip to content

Starter project to write and debug cucumber-js features in TypeScript language

Notifications You must be signed in to change notification settings

victorhqc/cucumber-ts-starter

 
 

Repository files navigation

cucumber-ts-starter

Starter project to write and debug cucumber-js features in TypeScript language.

After cloning the repo

  • run the command npm install.

To execute the tests locally

  • run the command npm test.

To debug a scenario in Visual Studio Code

  • tag the scenario with @only and @debug
  • set the breakpoints in the typescript code
  • Start debugging

To run only specific scenarios

  • tag the scenario(s) with @only

To ignore a scenario

  • tag the scenario with @ignore

To check for typescript and linting errors

  • run the command npm run build.

To view the html report of the last run

  • run the command npm run report.

About

Starter project to write and debug cucumber-js features in TypeScript language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.0%
  • Gherkin 4.3%
  • JavaScript 2.7%