如何将Junit测试用例集成到TFS2015的构建过程中? [英] How to integrate Junit test case into build process in TFS2015?
问题描述
微软
我正在使用TFS2015进行构建+测试使用JUnit测试的Java项目作为其中的一部分。
是否有任何设施支持TFS2015中JUnit测试用例的测试自动化?
您是否有过将JUnit测试用例的测试用例注册到TFS2015测试数据库的经验?
谢谢
Recho沉
嗨Recho Shen,
感谢您在此发帖。
我建议你可以尝试在VNext Build中使用Maven任务来运行和测试你的java项目使用Junit测试:
https:// www .visualstudio.com / zh-gb / docs / build / steps / build / maven
构建代理必须具有Maven功能。有关详细信息,请参阅以下博客:
最好的问候
Limitxiao Gao
Hi Microsoft
I am using TFS2015 to do build + test for a Java project with JUnit test as part of it.
Is there any facility support the test automation for JUnit test case in TFS2015?
Have u got experience to do test case registration for JUnit test case into TFS2015 test database?
Thanks
Recho Shen
Hi Recho Shen,
Thank you for posting here.
I suggest that you could try to use the Maven task in VNext Build to run and test your java project with Junit test:
https://www.visualstudio.com/en-gb/docs/build/steps/build/maven
The build agent must have Maven capability. For more information, you could refer to the following blog:
Best Regards
Limitxiao Gao
这篇关于如何将Junit测试用例集成到TFS2015的构建过程中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!