O'Reilly logo

Learning AngularJS for .NET Developers by Alex Pop

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing web service endpoints

Testing server-side components is a key ingredient for building a solid AngularJS application. All web service endpoints should be exercised through tests as they have a relatively low cost in configuration and implementation when using ServiceStack. Because all the core functionality of the application is provided by ServiceStack web services, we will focus on testing these rather than the ASP.NET MVC controllers. You can cover the little functionality provided by ASP.NET MVC in end-to-end tests executed by Protractor.

We will change the strategy here and rather than start exploring unit tests, we will look at endpoint tests first. This is an outside-in test strategy that can also be extended to AngularJS tests depending ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required