开发者

how to configure java junit with Teamcity?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜