测试报告生成 [英] Test Report Generation

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

问题描述

如何从VS2013 Express为网络版生成HTML测试报告?

解决方案

朋友,


<感谢您的发布。



您可以使用vstest.console.exe,运行您的测试dll文件,命令行希望:


vstest.console test.dll / Logger:trx


然后你会在TestResult文件夹中找到trx文件,实际上是.trx file是一种xml文件,你可以用记事本打开它,或者这里是可以将.trx文件转换成html文件的工具:


http://trx2html.codeplex.com/




希望有所帮助。







祝你好运,


Fletch




How to Generate the HTML Test Report from the VS2013 Express for web edition?

解决方案

Hi friend,

Thanks for your posting.

You could just use vstest.console.exe, run your your test dll file, the command line will like:

vstest.console test.dll /Logger:trx

then you would find the trx file in the TestResult folder, actually .trx file is a kind of xml file, you could open it with notepad, or here is tool which could convert .trx file to html file:

http://trx2html.codeplex.com/

Hope it helps.

Best regards,

Fletch


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

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