Angularjs to complete testing using asp.net mvc

Has anyone been able to get end-to-end angular testing using asp.net mvc4 and karma?

Everything works fine for me, with the exception of the end tests. Views behave correctly, unit tests work fine, but end-to-end tests show that there are no elements in karma in the DOM. I can’t verify that since it doesn’t seem like you need to study the dom created by karma anyway

The reason I want to use MVC4 is because I like the way authorization works within the framework.

+4
source share
1 answer

This is not an answer, so I will not mark it as such, it is rather a job.

I decided to go with chutzpah to run the jasmine block tests, and specflow.xunit to test "e2e". It works well in a .net environment, and integration in teamcity seems straightforward.

0
source

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


All Articles