开发者

Display .NET MVC unit test results on a page

I'm wondering if it's possible to display results from unit tests on a single page?

For example:

TIA


Chances are you can customize your command line tool to return kind of html output, or find a ready xslt for various test result formats.

If it's mstest, you can use mstest.exe and process the resulting trx file. If it's nunit-console.exe, you can process TestResults.xml

Since you've got html in a temporary file, use FileResult to return the file as an action result.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜