Skip to Main Content
Modern Web Development with ASP.NET Core 3 - Second Edition
book

Modern Web Development with ASP.NET Core 3 - Second Edition

by Ricardo Peres
June 2020
Intermediate to advanced content levelIntermediate to advanced
802 pages
16h 11m
English
Packt Publishing
Content preview from Modern Web Development with ASP.NET Core 3 - Second Edition
Understanding How Testing Works

In previous chapters, we looked at how to build things in ASP.NET Core. We are aware that we should be testing our applications before we consider them done. What happens is that applications evolve and stuff that used to work at one point in time may no longer work now. So, to ensure that these applications do not fail on us, we set up tests that can run automatically and check whether everything is still working as it should.

We will cover the following topics in this chapter:

  • Unit testing principles
  • Using xUnit, NUnit, and MSTest
  • Mocking objects
  • Assertions
  • User interface tests
  • Working on integration tests

In this chapter, we will have a look at two approaches for executing these tests and how they help ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Full-Stack Web Development with ASP.NET Core

Hands-On Full-Stack Web Development with ASP.NET Core

Tamir Dresher, Amir Zuker, Shay Friedman

Publisher Resources

ISBN: 9781789619768Supplemental Content