469,270 Members | 1,011 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

NUnitAsp Uinit Testing

I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?
Nov 19 '05 #1
5 2001
Jon
Hello Patrick,

The only thing that I don't like about NUnit ASP is that you need to know
the location of all the controls, for example control A, is in control B,
which sits in a cell of a datagrid which sits on a page. If you have a page
that uses many conrols, that are inside one another it gets difficult to
reference them.

Thanks,

Jon

"Patrick.O.Ige" wrote:
I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?

Nov 19 '05 #2

You can't test popup windows.
"Patrick.O.Ige" <na********@hotmail.com> wrote in message
news:ut**************@TK2MSFTNGP15.phx.gbl...
I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?

Nov 19 '05 #3
Look at
SWExplorerAutomation(http://home.comcast.net/~furmana/SWIEAutomation.htm)
It supports Popup Dialog Windows, Html Dialog Windows and lots more.

Nov 19 '05 #4
Hi, I have been using NUnitAsp for a while now, and have the following
thoughts.

NUnitAsp is extremely useful when doing Test Driven Development (TDD) on the
web layer of an application. It is also useful for integration testing and
regression testing. Scenario: You are developing functionality for a user
with special characteristics, on step 7 in a registration process. It will
take 4 minutes to login and fill out required forms input before you get to
the page you are developing. Either you need to debug what happens when the
user clicks submit, or you would like to ensure that the functionality on
this page was not broken by the last refractoring; you can go to your debug
breakpoint or regression test this with one click.

The fact that NUnitAsp is not exactly a Unit Test tool but an
integration-testing tool makes it slow to run the test all the time (like you
should with Unit Tests). It is slow because the tool acts like a user on the
application, using HTTP requests. A test often include a login and some
navigation, thus it is more time-consuming to run NUnitAsp tests than normal
NUnit Tests.

NUnitAsp does not have the possibility to test on every ASP.NET event by
default, but it is fairly easy to write extensions to support you need.

--
Bent Kristiansen
bent.kristiansen(AT)bekk.no
"Patrick.O.Ige" wrote:
I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?

Nov 19 '05 #5
Thx for the info Bent

"Bent Kristiansen" <bent.kristiansen(AT)bekk.no> wrote in message
news:4B**********************************@microsof t.com...
Hi, I have been using NUnitAsp for a while now, and have the following
thoughts.

NUnitAsp is extremely useful when doing Test Driven Development (TDD) on the web layer of an application. It is also useful for integration testing and
regression testing. Scenario: You are developing functionality for a user
with special characteristics, on step 7 in a registration process. It will
take 4 minutes to login and fill out required forms input before you get to the page you are developing. Either you need to debug what happens when the user clicks submit, or you would like to ensure that the functionality on
this page was not broken by the last refractoring; you can go to your debug breakpoint or regression test this with one click.

The fact that NUnitAsp is not exactly a Unit Test tool but an
integration-testing tool makes it slow to run the test all the time (like you should with Unit Tests). It is slow because the tool acts like a user on the application, using HTTP requests. A test often include a login and some
navigation, thus it is more time-consuming to run NUnitAsp tests than normal NUnit Tests.

NUnitAsp does not have the possibility to test on every ASP.NET event by
default, but it is fairly easy to write extensions to support you need.

--
Bent Kristiansen
bent.kristiansen(AT)bekk.no
"Patrick.O.Ige" wrote:
I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?

Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Carlton858 | last post: by
1 post views Thread by Sasha | last post: by
2 posts views Thread by Nate | last post: by
reply views Thread by raju | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.