summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-08 21:18:47 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-08 21:18:47 +0800
commit659b777419991b1f583964b60067a6c119f0a5fd (patch)
tree9303623342d213e74a07d853bc55a19f8b59f90b
parent6ca2d6c73eb821a8d680dd6e81a6588a0c90512b (diff)
Jenkinsfile: pytest will load all test scripts in ./app/test.
-rw-r--r--Jenkinsfile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 08ac579..5e2b037 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,10 +22,7 @@ pipeline {
sh 'sudo docker run -d -p 4444:4444 selenium/standalone-chrome'
sh 'pip3 install pytest -U -q'
sh 'pip3 install selenium -U -q'
- sh 'python3 -m pytest ./app/test/test_signup.py'
- sh 'python3 -m pytest ./app/test/test_login.py'
- sh 'python3 -m pytest ./app/test/test_next_essay.py'
- sh 'python3 -m pytest ./app/test/test_add_word.py'
+ sh 'pytest ./app/test'
}
}
stage('DeployIt') {