开发者

Software required to automate test cases using WatiN

开发者 https://www.devze.com 2022-12-17 17:55 出处:网络
Can anybody please tell me which softwares开发者_JS百科 are required to automate tests of a .NET web application using WatiN.

Can anybody please tell me which softwares开发者_JS百科 are required to automate tests of a .NET web application using WatiN.

Thanks


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!


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消