cucumber-testcafe
v0.1.0
Published
cucumber with testcafe integration
Readme
cucumber-testcafe
This package integrates cucumber and testcafe in one single CLI configurable via profiles.
Also provides a set of generic step-definitions implemented with testcafe.
Requisites
Super fast quick start
cd my-project && npm init
npm i cucumber-testcafe --save # install
npx cucumber-testcafe init test # bootstrap
npx cucumber-testcafe run # runQuick start
Install with npm
npm i --save-dev cucumber-testcafeInstall with yarn
yarn add -D cucumber-testcafeBootstrap a cucumber-testcafe project
- Creates test folder estructure, with:
- Creates VSCode cucumber settings.
- Creates default
cucumber.profiles.jsonconfig file.
cucumber-testcafe init <folder> # ./test/ as default folderRuns cucumber-testcafe project
cucumber-testcafe run CUCUMBER_PROFILE=default # default as defacto profile name to runShow help
cucumber-testcafe --helpRun this repo test
npm test
More info
- https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors/
- https://cucumber.io/docs/cucumber/cucumber-expressions/
- https://cucumber.io/docs/gherkin/
