CHAPTER 15

image

Unit Testing and Integration Testing

It is very likely you have already written unit tests for your projects and thus are familiar with the concepts, frameworks, and steps involved in writing unit tests. This chapter therefore mainly deals with how to apply those skills to the effective writing of unit tests for your Web API. As you will see, unit testing is where you start, not where you finish.

As you know, industry is undergoing immense change at the moment. On one hand, Service Oriented Architecture (SOA) has resulted in big enterprise applications being broken into multiple independent or semi-independent services. On the other ...

Get Pro ASP.NET Web API: HTTP Web Services in ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.