一、安装 NuGet TestStack.White是通过NuGet进行安装的。NuGet最低支持VS2010。我使用的VS2015。 安装方式一 :从Visual Studio的工具->扩展和更新中搜索安装 安装方式二:从如下链接下载双击安装 从http://visualstudiogallery Read More
posted @ 2019-09-20 07:48 happy_xiaoxiao Views(660) Comments(0) Diggs(0) Edit
说明:程序中有些自定义的控件类型在TestStack.White框架中没有涉及,需要引入自定义的DLL,通过鼠标点击事件处理 使用:将自定义的ClassLibrary2.dll拷贝到项目/bin/debug目录下,项目添加引用选择dll。 --该dll定义了Control Patterns为空的点击 Read More
posted @ 2019-09-20 07:46 happy_xiaoxiao Views(501) Comments(0) Diggs(0) Edit
一、单元测试框架NUnit NUnit是所有.net语言的单元测试框架。使用C#语言编写。 测试框架:NUnit3 1. 安装NuGet包管理器 2. 在NuGet中安装NUnit、NUnit.Console和NUnit 3 Test Adapter 本地安装版本为:NUnit(3.12.0)、NU Read More
posted @ 2019-09-20 07:31 happy_xiaoxiao Views(414) Comments(0) Diggs(0) Edit
【环境】 操作系统:Windows7 集成环境:Visual Studio2015 编程语言:C# 目标框架:.net framework4.6 1、新建项目 Visual Studio 2015 【文件】->【新建】->【项目】->Visual C#(控制台应用程序) 2、添加引用 项目->引用- Read More
posted @ 2019-09-20 07:18 happy_xiaoxiao Views(2372) Comments(0) Diggs(0) Edit