Jenkins file testing

This commit is contained in:
Dawid Majsnerowski 2019-11-19 17:30:21 +01:00
parent bedc5b039b
commit 25bdf24217
3 changed files with 8 additions and 3 deletions

3
Jenkinsfile vendored
View File

@ -10,7 +10,8 @@
}
stage('Test') {
steps {
echo 'Testing..'
sh 'npm install'
sh 'npm test'
}
}
stage('Deploy') {

View File

@ -1,3 +1,7 @@
Testowe Readme do projektu BestNotes
Testowa zmiana
Testowa zmiana
# Run Webdriver.IO tests locally
To run WebdriverIO tests locally, just execute:
```./node_modules/.bin/wdio run ./test/config/base.conf.js```

View File

@ -7,7 +7,7 @@
"test": "tests"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "./node_modules/.bin/wdio run ./test/config/base.conf.js"
},
"repository": {
"type": "git",