1、安装Microsoft.TestPlatform.TestHost
2、安装Nunit和NUnit3TestAdapter
3、VS的工具栏中=》测试=》窗口=》测试资源管理器
4、using NUnit.Framework;