Skip to content

laashub-sua/cucumber-electron

 
 

Repository files navigation

cucumber-electron

Runs cucumber-js in an electron renderer process. Scenarios have direct access to both a browser DOM and node.js libraries, so they are fast and easy to debug interactively.

Build Status Build status

Install

npm install electron cucumber-electron --save-dev

Usage

cucumber-electron is a drop-in replacement for cucumber-js, supporting the same features and command-line options. You should be able to use it on your project without any changes.

Run cucumber-electron like it was cucumber-js, for example:

./node_modules/.bin/cucumber-electron ./features/your.feature:123

Interactive Debugging

The --interactive (or -i) command line switch shows a browser window with chrome dev tools and keeps the window open after all features have finished running.

The interactive debugger will halt execution on any debugger statements, or breakpoints you have set in chrome dev tools.

About

Run cucumber.js in electron

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.7%
  • Gherkin 20.1%
  • HTML 1.2%