综合测试覆盖率报告,jMockit [英] Combined test coverage report with jMockit

查看:2076
本文介绍了综合测试覆盖率报告,jMockit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用jmockit使用Ant。每个测试文件来看,一个 index.html的文件被创建/过写在覆盖报告文件夹。

I am using jmockit with Ant. For each test file run, an index.html file gets created/over-written in the coverage report folder.

有关多个测试文件,这个 index.html的获取覆盖。

For multiple test files, this index.html gets over-written.

我找了所有文件的合并报告。应该怎么做?我已阅读关于使用 .ser 文件,但我不知道如何创建,然后使用他们?

I am looking for a combined report for all files. what should be done? I have read about using .ser files but I do not know how to create and then use them?

推荐答案

有一个看这里。关键是要建立

-Djmockit-coverage-output=merge

(或串口 - 在上面的链接的差异读了)。

(or serial - read up on the differences in the link above).

干杯,

这篇关于综合测试覆盖率报告,jMockit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆