NUnit with an ASP.net web site

Posted by Ed Woodcock on Stack Overflow See other posts from Stack Overflow or by Ed Woodcock
Published on 2010-05-04T13:54:34Z Indexed on 2010/05/04 13:58 UTC
Read the original article Hit count: 194

Filed under:
|
|

Hi folks,

I'm currently trying to upgrade our build server at work, going from having no build server to having one!

I'm using JetBrains TeamCity (having used ReSharper for a couple of years I trust their stuff), and intend to use NUnit and MSBuild.

However, I've come up with an issue: it appears that it is not possible to test an ASP.net Web Site with NUnit. I had assumed it would be possible to configure it to test App_Code after build, however it seems that the only way to do tests nicely is through converting the Web Site to a Web Application (which my boss does not like the idea of).

Does anyone have a suggestion as to how I could go about this? Please bear in mind that the testing needs to be able to be fired automatically from TeamCity.

© Stack Overflow or respective owner

Related posts about nunit

Related posts about ASP.NET