本文介绍了如何将单元测试项目添加到现有的Windows窗体项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对单元测试一无所知。我想要做的是我有一个Windows应用程序。我想为它建立一个UNIT测试项目。我将单元测试项目添加到当前解决方案中,我得到了这个。
Hi, I don't know anything regarding unit testing. What i want to do is that i have a windows application. I want to set up a UNIT testing project for it. I added unit test project to the current solution, and i got this.
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTestProject1 { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { } } }但我该怎么办?请帮助我!
But what shall i do from here? Pls help me out !
推荐答案尝试如何:创建单元测试项目 [ ^ ]。
我添加了一个单元测试项目,参考了项目 I added a unit test project, referred the project
更多推荐
如何将单元测试项目添加到现有的Windows窗体项目中
发布评论