简体   繁体   中英

How to Add Test Project for MVC Project in Visual Studio 2013

I have an MVC 4.5.1 project in Visual Studio 2013. It is already well built out and working. I need to add unit tests to it. How can I add a testing project?

It doesn't seem like the options available to do this for previous versions of Visual Studio are the same in 2013.

Additional info: I'll be using NUnit and Moq for testing.

只需添加一个用于测试的库项目,然后安装nunit和moq软件包即可。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM