Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 676 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 676 Bytes

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.