added readme, renamed scripts

This commit is contained in:
Märt Kalmo
2017-03-09 13:20:21 +02:00
parent 907d3f1517
commit 18f6d2c113
2 changed files with 18 additions and 3 deletions

View File

@@ -5,9 +5,9 @@
"update": "webdriver-manager update",
"postinstall": "npm run update",
"start": "webdriver-manager start",
"hw2_tests": "protractor ./conf.js --suite=hw2",
"hw3_tests": "protractor ./conf.js --suite=hw3",
"hw4_tests": "protractor ./conf.js --suite=hw4"
"hw2tests": "protractor ./conf.js --suite=hw2",
"hw3tests": "protractor ./conf.js --suite=hw3",
"hw4tests": "protractor ./conf.js --suite=hw4"
},
"devDependencies": {
"phantomjs": "^2.1.7",

15
readme.txt Normal file
View File

@@ -0,0 +1,15 @@
# requires nodejs and java
# in test project directory give following commands:
npm install # installs libraries
# This command creates directory node_modules inside current directory.
# If on Windows, then delete file node_modules\.bin\phantomjs
npm start # starts Selenium server
# previous command does not terminate.
# So, open new terminal and run:
npm run hw2tests # runs tests