M
Mike Hofer
I need some advice, folks, and I'm hoping you can provide it.
First off, a few disclaimers:
1.) I am an ardant advocate of code quality. Especially, my own.
2.) I am maintaining a massive ASP.NET 1.1 code base that has no unit
tests built for it with NUnit or any other testing framework.
3.) Moving to .NET 2.0 and VSTS is not an option.
I am familiar with NUnit, and TDD in general. However, the base NUnit
library (last time I looked) doesn't natively support testing of
ASP.NET pages. In particular, if I want to test session state
management, viewstate management, and so forth, I'm out of luck unless
I first do a whole lot of refactoring (destabilizing the code).
While I'm all for cleaning up the code, I'm also for getting the
product out the door on time. I only refactor when it's necessary.
Anyway, I digress.
So my point is this: Is there an add-on for NUnit that tests ASP.NET
pages (specifically, targeting .NET Framework 1.1) that you recommend,
and if so, why?
I found NUnitAsp, and it looks promising, but I'd rather not
experiment on a working codebase. (I'll test it on some sample code
first.) You can find the link to NUnitAsp here:
http://nunitasp.sourceforge.net/
Any pointers you can provide will be greatly appreciated.
Thanks in advance!
Mike Hofer
First off, a few disclaimers:
1.) I am an ardant advocate of code quality. Especially, my own.
2.) I am maintaining a massive ASP.NET 1.1 code base that has no unit
tests built for it with NUnit or any other testing framework.
3.) Moving to .NET 2.0 and VSTS is not an option.
I am familiar with NUnit, and TDD in general. However, the base NUnit
library (last time I looked) doesn't natively support testing of
ASP.NET pages. In particular, if I want to test session state
management, viewstate management, and so forth, I'm out of luck unless
I first do a whole lot of refactoring (destabilizing the code).
While I'm all for cleaning up the code, I'm also for getting the
product out the door on time. I only refactor when it's necessary.
Anyway, I digress.
So my point is this: Is there an add-on for NUnit that tests ASP.NET
pages (specifically, targeting .NET Framework 1.1) that you recommend,
and if so, why?
I found NUnitAsp, and it looks promising, but I'd rather not
experiment on a working codebase. (I'll test it on some sample code
first.) You can find the link to NUnitAsp here:
http://nunitasp.sourceforge.net/
Any pointers you can provide will be greatly appreciated.
Thanks in advance!
Mike Hofer