简体   繁体   English

覆盖java工具

[英]coverage java tool

I'm wrintting java tests to control the GUI application, and I'm searching a tool to cover the java test , what is your recommandation ? 我正在试图控制GUI应用程序,我正在寻找一个工具来覆盖java测试,你的建议是什么? which tool is usually used to cover java tests ? 哪个工具通常用于覆盖java测试?

I recommend Cobertura for measuring test coverage. 我建议Cobertura测量测试覆盖率。 You can plug it into ant, maven, hudson, eclipse etc. 你可以把它插入ant,maven,hudson,eclipse等。

我推荐Sonar ,看看它如何显示代码覆盖的超链接(除了做许多其他方便的事情)。

You can try to use Cobertura , it creates nice reports, and is easy to use in conjunction with junit, using ant or maven. 你可以尝试使用Cobertura ,它创建了很好的报告,并且很容易与junit一起使用,使用ant或maven。

A great tool for reporting is Sonar , which integrates coverage tests, but also tools like checkstyle, findbugs, and provides a nice interface to analyse the outputs. Sonar是一个很好的报告工具,它集成了覆盖测试,还有checkstyle,findbugs等工具,并提供了一个很好的界面来分析输出。 It is also very easy to setup, definitively worth trying. 它也很容易设置,绝对值得一试。

I strongly recommend taking a look at Code Pro tools . 我强烈建议您查看Code Pro工具 It's for Eclipse. 它适用于Eclipse。 And it contains a lot more than code coverage, it is code analyzer, junit test generator, dependency analyzer and so on... 它包含的不仅仅是代码覆盖,而是代码分析器,junit测试生成器,依赖性分析器等等......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java Log Coverage工具 - Java Log Coverage tool 是否有某种“断言”覆盖工具(针对Java)? - Is there some kind of 'assertion' coverage tool (for Java)? Java Webstart / Jnlp应用程序的代码覆盖工具 - code coverage tool for java webstart/jnlp application 在jar文件中启用任何Java代码覆盖率工具以生成输出 - enable any java code coverage tool in jar file to generate output 是否有Java代码覆盖工具记录调用行和方法的次数? - Is there a Java code coverage tool that records the number of times lines and methods are called? 用于检查实时Java应用程序的实时代码覆盖查看器工具? - Real time code coverage viewer tool for inspecting live Java apps? 如何在 Eclipse 中设置 Jacoco 代码覆盖工具以查看 Java 代码中的颜色? - How to set up Jacoco code coverage tool in Eclipse for viewing colors in Java code? 是否可以使用 JSCover 或任何其他工具来获得在浏览器中运行 Java Selenium WebDriver 测试的 JavaScript 代码覆盖率? - Is it possible to use JSCover or any other tool to get JavaScript code coverage running Java Selenium WebDriver tests in Browser? EMMA覆盖工具不显示逐行覆盖 - EMMA coverage tool not displaying line-by-line coverage EclEmma coverage工具是否执行节点或边或条件或路径的覆盖? - Does the EclEmma coverage tool perform node or edge or condition or path coverage?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM