在asp.net中编写单元测试用例 [英] writing unit test cases in asp.net

查看:101
本文介绍了在asp.net中编写单元测试用例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



是否可以为网络用户控制编写单元测试用例(.ashx文件。)

在我的项目我使用java脚本,Web用户控件。右键单击.cs文件,不显示创建单元测试用例选项。我正在使用vs2008。



我的项目有什么问题。



请建议我。

Hi all,

Is it possible to write unit test cases for web user control(.ashx files.)
In my project I used java script, web user controls. Right clicking on the .cs file not showing create unit test cases option. Am using vs2008.

What is the problem with my project.

Please suggest me.

推荐答案

看到这个...... :)



为你的c#代码创建单元测试 [ ^ ]



使用Visual Studio团队测试进行单元测试演练 [ ^ ]



提示更简单的C#单元测试 [ ^ ]







添加链接文字以反映文章标题。

[/编辑]
see this...:)

Creating Unit tests for your c# code[^]

A Unit Testing Walkthrough with Visual Studio Team Test[^]

Tips for Easier C# Unit Testing[^]



Link text added to reflect the article title.
[/Edit]


使用Visual Studio 2008对aspx和acsx页面进行单元测试 [ ^ ]



ASP.NET单元测试 [ ^ ]



使用Cassini的ASP.NET页面,基类,控件和其他小部件的NUnit单元测试(ASP.NET Web Matrix) / Visual Stu dio Web Developer) [ ^ ]



希望它会有所帮助...







添加链接文字以反映文章标题。

[/编辑]
Unit Testing aspx and acsx pages with Visual Studio 2008[^]

ASP.NET unit testing[^]

NUnit Unit Testing of ASP.NET Pages, Base Classes, Controls and other widgetry using Cassini (ASP.NET Web Matrix/Visual Studio Web Developer)[^]

Hope it will help...



Link text added to reflect the article title.
[/Edit]


这篇关于在asp.net中编写单元测试用例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆