开发者

how to configure java junit with Teamcity?

开发者 https://www.devze.com 2023-03-09 21:10 出处:网络
Can somebody please tell me how to integrate java JU开发者_运维百科nit with TeamCity?You can use the jUnit task in your Ant script that you have TeamCity run.Current Teamcity version doesn\'t provide

Can somebody please tell me how to integrate java JU开发者_运维百科nit with TeamCity?


You can use the jUnit task in your Ant script that you have TeamCity run.


Current Teamcity version doesn't provide separate JUnit build step.

I guess it's because of test classpath determination problem.

You may provide classpath explicitly with ant junit task.

Or Teamcity can fetch test classpath from IDEA or IPR project. These two links explain how to run junit tests as part of compile build step.

0

精彩评论

暂无评论...
验证码 换一张
取 消