From 659b777419991b1f583964b60067a6c119f0a5fd Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Mon, 8 Feb 2021 21:18:47 +0800 Subject: Jenkinsfile: pytest will load all test scripts in ./app/test. --- Jenkinsfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Jenkinsfile') 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') { -- cgit v1.2.1