对客户而言,我们需要为融合测试编写详细的测试报告,不仅显示,一切都是绿色的,而且测试是什么样的。 我的同事和我是 la笑,我们不希望打上传播画或文字文件。
为此,我认为,将比较复杂的一体化测试与JavaDoc关于每一种“试验附加说明”方法和每一试验类别的评论相记录。 试卷可很好地看出,哪项要求、吉拉票或任何测试都与测试有关,以及测试实际上试图做些什么。 我们也要向我们的客户提供这一信息。
现在的主要问题是:我们如何能够将 Java的每个方法和每个测试类别纳入日本国别报告? 我们使用Junnit 4.9和Maven。
I know, that there is a description for each assertXXX(), but we really would need a nice HTML list as result or a PDF document which lists all classes and there documentation and below that all @Test methods and their description, the testing time, the result and if failed, the reason why.
或者还有另一种替代方法,可以产生弹性测试文字? (我们应就此启动开放式项目!) iii
Update: I asked another question on how to add a RunListener to Eclipse to have it also report in Eclipse when started there. The proposed solution with a custom TestRunner is another possibility to have the test results report. Have a look: How can I use a JUnit RunListener in Eclipse?