Skip to content

promerood/protractor-cucumber-base-proyect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base e2e testing

Cucumber, the popular Behaviour-Driven Development tool, brought to your JavaScript stack.

Cucumber.js is a Cucumber implementation written in pure JavaScript.

Protractor is an end-to-end test framework for AngularJS applications.

Protractor Docs

Prerequesites

Usage

Install

Go to {yourProyectPath}/protractor-cucumber/

Install with:

$ npm install -g protractor cucumber webdriver-manager
$ npm install

Run:

First run:

$ npm run webdriver

and then, in a different console, run all features:

$ npm run protractor

and then, run witch param baseurl, server remote default: https://www.google.com

$ protractor conf.js --params.BASEURL=https://loquequieras.com
or
$ node_modules/.bin/protractor conf.js --params.BASEURL=https://loquequieras.com

and run individual test

$ protractor --specs=features/search-google.feature conf.js
or 
$ node_modules/.bin/protractor --specs=features/search-google.feature conf.js

Examples

A few example apps are available for you to browse:

Contribute

See CONTRIBUTING.

Help & support

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published