扩展项目的XUnit测试 [英] XUnit testing for Extension project
问题描述
Hi Team,
我们正在为VS Extension项目编写单元测试。我们需要使用XUnit测试方法在ASP.NET MVC Project中添加程序集。我可以创建和添加项目,但我无法在项目中添加程序集。
We are writing unit testing for VS Extension project. We need to add assemblies in ASP.NET MVC Project using XUnit testing method. I can able to create and add project but I cannot able to add assemblies in project.
您能否建议使用XUnit测试方法添加组件。
Can you please suggest add assemblies using XUnit testing method.
谢谢
推荐答案
朋友,
我无法在项目中添加程序集,你的意思是你有任何错误吗?
By I cannot able to add assemblies in project, do you mean you got any errors?
如果您只想知道为.net应用程序创建单元测试的具体步骤,请参阅:
从xUnit.net开始获取
If you just want to know the specific steps of creating unit tests for your .net application, please refer to this: Getting started with xUnit.net
或者你可能想知道如何每个测试程序集
配置带有JSON的XUnit.net 。
Or you might want to know how to configure XUnit.net with JSON on a per test-assembly.
无论如何,如果我误解你,请随时告诉我。
Anyway, please feel free to let me know if I’ve misunderstood you.
祝你好运,
Fletch
这篇关于扩展项目的XUnit测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!