Run the following command in root directory of an app in command prompt.
server/ npm install
client/src/ bower install
Run the following command in root directory of an app in command prompt.
server/ node server.js
You can see the port number in command prompt after sucessfull run
You can change the settings in server/config/config.js file
Test cases are written using Mocha for nodejs testing and protractor for angularjs.
Mocha is a simple, flexible, fun JavaScript test framework for node.js and the browser.
npm install -g mocha
Run Project and correspondingly use following command in server folder of an app in command prompt.
mocha
-
Initial setup
Install jdk and add path to environmental variables
npm install -g protractor
webdriver-manager update
-
Requirements to run test cases
create one csv file with name demo.csv using e2e/demo.csv file details
put this file on your Desktop (where ever you want)
update your file location in all test suits where ever you find the file path 'C:/Users/Cronj-4/Desktop/demo.csv'
-
Commands to run
webdriver-manager start
protractor
For more details visit [protractor] (http://angular.github.io/protractor/#/)