tags:

views:

67

answers:

2

Hi All,

Can anybody please tell me which softwares are required to automate tests of a .NET web application using WatiN.

Thanks

A: 

Any unit test framework like NUnit will let you do it. If you want to test against the development web server, that's slightly trickier, but possible.

Reference WebDev.WebHost.dll (in the GAC, but can be extracted and referenced on its own as it has no non-framework dependencies) in your unit test, then you have use the Server class it exposes to fire up a development web server. This is the server fired up by the development webserver executable, but this doesn't give you a neat shutdown option - the Server class however does!

David M
A: 

I suggest using Watin and MBUnit. MBUnit has a really good test runner called Gallio and is easy to work with.

http://www.gallio.org/

Greg Bray