sasha7 / protractor-gherkin-cucumberjs-angular2

An example project to setup CucumberJS with Gherkin scenarios in Protractor & Angular2

Home Page:http://samvloeberghs.github.io/protractor-gherkin-cucumberjs-angular2-slides/#/today-s-topics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CucumberJS with Gherkin scenarios in Protractor & Angular2

An example project to setup CucumberJS with Gherkin scenarios in Protractor & Angular2 As a base for the project I've used the amazing starting pack: https://github.com/AngularClass/angular2-webpack-starter

Get started

# clone the repo 
git clone https://github.com/samvloeberghs/protractor-gherkin-cucumberjs-angular2.git
 
# change directory to our repo 
cd protractor-gherkin-cucumberjs-angular2
 
# install the repo with npm 
npm install
 
# start the server 
npm start 

# run the tests ( this will both run the E2E & unit tests ) 
npm run ci

CucumberJS

Cucumber.js is a Cucumber implementation written in pure JavaScript. It runs on Node.js, IO.js, browsers and any other JavaScript platform.

More info:

Gherkin scenarios

Gherkin is the language that Cucumber understands. It is a Business Readable, Domain Specific Language that lets you describe software’s behaviour without detailing how that behaviour is implemented.

Gherkin serves two purposes — documentation and automated tests. The third is a bonus feature — when it yells in red it’s talking to you, telling you what code you should write.

More info:

About

An example project to setup CucumberJS with Gherkin scenarios in Protractor & Angular2

http://samvloeberghs.github.io/protractor-gherkin-cucumberjs-angular2-slides/#/today-s-topics

License:MIT License


Languages

Language:JavaScript 37.5%Language:TypeScript 36.5%Language:HTML 19.9%Language:Gherkin 4.7%Language:CSS 1.0%Language:ApacheConf 0.3%