简体   繁体   中英

Selenium, Maven, Jenkins: Updated /new test cases do not run through eclipse. The changes only appeared after running the script from Jenkins

I have automated my test cases using Selenium, Maven and Jenkins. And I am facing following issue:

For example: I create a class test.java which contains 5 test cases. I run the test case from eclipse, it works. Then I run it from Jenkins, it works fine.

Then I add two more test cases and try to run the total 7 test case. BUT this time, eclipse will run only 5 test case. It will not run all 7 test cases until I run it from Jenkins.

I have CLEAN and BUILD the project. But it is not working for me and keep running the previous test cases.

You cancheck out the .project file and compare it with previous version. That might help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM