.NET equivalent of httpunit

I will openly admit that I am falling to the side of Test Driven Development. I came across a situation that I would like to test, but I did not find a good way to do this.

I worked in ASP.NET MVC, and I would like to verify that the parts of the code that I put in the presentation layer (and I know that I need to keep this as little as possible). I am looking for the .NET equivalent for httpunit in Java or something similar.

+4
source share
3 answers

In fact, you can also use HtmlUnit in .Net: Using HtmlUnit for .NET to carefree browser automation. The article also provides links to other ways to test the user interface.

+2
source

Have you watched Selenium ?

This is a standard web application testing system.

Another is WatiN .

0
source

If you're looking for something easier, try SimpleBrowser for .Net - open on Github. It does not support JavaScript, but it may not be necessary for your needs.

https://github.com/axefrog/SimpleBrowser

0
source

Source: https://habr.com/ru/post/1307237/


All Articles