© Fanie Reynders 2018
Fanie ReyndersModern API Design with ASP.NET Core 2https://doi.org/10.1007/978-1-4842-3519-5_10

10. Testing & Debugging

Fanie Reynders1 
(1)
Odijk, The Netherlands
 

It is time to shift our focus to another important part of API design, which is the testing and debugging of the source code. This chapter will briefly share some interesting points on why testing is essential, as well as dive into the implementation details for creating unit and integration tests. Also included in this chapter will be complete instructions on how to debug the source code of compiled external libraries by using their symbols loaded from the Internet.

Why Is Testing Important?

In recent years, software testing has become an integral part of product

Get Modern API Design with ASP.NET Core 2: Building Cross-Platform Back-End Systems 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.