如何从[TestMethod]的测试输出中获取消息 [英] How to get Message from Test output of a [TestMethod]

查看:99
本文介绍了如何从[TestMethod]的测试输出中获取消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何从[TestMethod]的测试输出中获取消息.我可以使用TestContext获取测试名称,测试结果,但无法获取消息...在这种情况下可以帮助我吗

How to get the Message from Test Output of a [TestMethod]. I Can able to get the Test Name, Test Outcome using TestContext, but I could not able to get the Message... can any one help me in this context

推荐答案

可以在这里分享您的测试方法代码吗?

Can you please share your test method code here?


这篇关于如何从[TestMethod]的测试输出中获取消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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