如何自定义MSTest.exe?
我有一个用 C# 编写的类和其中的方法。我想运行由特定属性(TestMethod 属性)标记的所有这些方法。如何使用 MSTest 运行它们?
注意:我想在命令行中执行此操作,而不是在 Visual Studio 中
I have a class and methods inside it written in C#. I want to run all those methods that are marked by a specific attribute (TestMethod attribute). How do I run them using MSTest?
Note: I want to do it in command line, and not in Visual Studio
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MSTest.exe 命令行选项
如何:从命令行运行测试
MSTest.exe Command-Line Options
How to: Run Tests from the Command Line