Chapter 18: Writing Integration Tests Using xUnit

In the previous chapter, we wrote input field validations in our web app's forms to improve the user experience (UX) when filling out forms. Now, we are going to add tests to our web service.

Writing automated tests is a big topic—too big to be written in a single book and to discuss all the details you need to know. However, we are only going to scratch the surface and write practical tests. We will write a few unit tests and then write integration tests in our ASP.NET Core application.

We will cover the following topics in this chapter:

  • Getting started with automated testing
  • Installing Microsoft SQL Server (MS SQL Server) in a Docker container
  • Understanding xUnit
  • Understanding unit testing ...

Get ASP.NET Core and Vue.js 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.