E
Eric
I've spent some time this morning looking into unit testing frameworks
for ASP.NET 2.0, but none seem satisfactory. I don't have Visual
Studio Team Edition, so apparently I can't use Microsoft's solution,
and TestDriven.net has no support for web applications.
The best I have found is to use NUnit on the .dll that is created when
the site is published. However, I have found that this .dll is not
updated with each publish, instead new "App_Web_variousgarbage.dll"
files are added to the folder. NUnit doesn't pick up the changes from
those files, so the tests remain the same from the first publish. The
problem is solved if I delete the contents of the folder, but that
leaves me with a rather unsatisfactory 3 step process (Delete, Publish,
Run Tests). There has to be a better way!
What are other people using to run unit tests on ASP.NET 2.0? Ideally,
I'm looking for a one click solution.
Thanks,
Eric
for ASP.NET 2.0, but none seem satisfactory. I don't have Visual
Studio Team Edition, so apparently I can't use Microsoft's solution,
and TestDriven.net has no support for web applications.
The best I have found is to use NUnit on the .dll that is created when
the site is published. However, I have found that this .dll is not
updated with each publish, instead new "App_Web_variousgarbage.dll"
files are added to the folder. NUnit doesn't pick up the changes from
those files, so the tests remain the same from the first publish. The
problem is solved if I delete the contents of the folder, but that
leaves me with a rather unsatisfactory 3 step process (Delete, Publish,
Run Tests). There has to be a better way!
What are other people using to run unit tests on ASP.NET 2.0? Ideally,
I'm looking for a one click solution.
Thanks,
Eric