Java – just run unit tests. What source code has changed?

I run unit tests and selenium tests on Jenkins CI server As we all know, testing takes a long time to run in large projects

Is there a Java tool / framework that can only trigger tests with changes in their respective source code? This is because not every SCM submission affects all areas of the source code

I am using cobertura for code coverage and surefire for reporting

Editor: I found atlas Ian clover, but I'm looking for a free solution

Solution

This is the problem I want to solve Split your project into multiple logical units (e.g., persistence layer, service layer, web layer) and test them separately Thus, when the web tier changes and the build time of each artifact becomes shorter, you only need to run selenium tests

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>