473,385 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

NUnitAsp and custom controls and pages

Hi,

I want to start unit testing my ASP.NET applications with NUnitAsp. But
all my applications are written with the help of custom page and server
control classes (They all inherit from core classes though. For example
CustomTextBox inherits from TextBox).

So the question is this - how do I proceed with testing my apps? Do I
need to write my own custom testers? Or should I just test against
simple core controls (TextBox, ListBox, RadioButton), even though in
reality they are complicated composite controls (AddressEdit,
PhoneEdit)?

Thank you in advance,
Sasha

Nov 19 '05 #1
1 1220
In general, a custom tester object will make the job easier -
particularly if the control is reused on a number of forms /
applications.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 26 Jun 2005 14:44:05 -0700, "Sasha" <os******@gmail.com> wrote:
Hi,

I want to start unit testing my ASP.NET applications with NUnitAsp. But
all my applications are written with the help of custom page and server
control classes (They all inherit from core classes though. For example
CustomTextBox inherits from TextBox).

So the question is this - how do I proceed with testing my apps? Do I
need to write my own custom testers? Or should I just test against
simple core controls (TextBox, ListBox, RadioButton), even though in
reality they are complicated composite controls (AddressEdit,
PhoneEdit)?

Thank you in advance,
Sasha


Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nick Zdunic | last post by:
Hi, I've been using NUnitASP and found that it reaches it's limits very quickly. It has problems with parsing certain pages and raises errors for these when perhaps it shouldn't. Another...
0
by: Carlton858 | last post by:
I have turned off the annyomous access on my ASP.Net web application and not set access using NT groups. That works great, except now none of my NUnitASP tests work - everything fails with access...
1
by: Novice | last post by:
Hey all, I have finally managed to create a Custom WebControl and am using a technique from another programmer to maintain state between pages - I would just like to validate this idea. ...
2
by: Vladimir | last post by:
subject -- Vlad
5
by: Patrick.O.Ige | last post by:
I came across NunitASP is it good to use and what are the advantages or disadvantages Any advice?
2
by: Nate | last post by:
All, I have started using NUnitASP to write test cases for an ASP.NET application. It works great, but some of the assertions that need to be made depend on values stored in the Session. The...
1
by: Abdo Haji-Ali | last post by:
Previously I used to create user controls if I wanted to use a specific set of controls in multiple pages, however I want to deploy my control in other applications so I thought of creating custom...
0
by: Ambica | last post by:
I am using Nunitasp for testing .aspx pages.While running the test case in the GUI the following error occurs: NUnit.Extensions.Asp.DoctypeDtdException : Problems with DOCTYPE DTD: <The remote...
0
by: raju | last post by:
Hai, I am new to NUnitASP. I learend NUnitASP from the website. When i used NUnitASP in my sample application, i got the error as "type webformtestcase" is not defined", when i am creating...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.