Test-Driven Development in .NET Core - The Handbook

Test-Driven Development (TDD) is a powerful approach to build solid and robust software. In this course, you will learn the skills you need in order to be able to apply TDD in your .NET projects. Unit testing is a type of software testing where code is written to automate the testing of sub-sections of an entire application.

This course starts with an introduction to the course and moves on to explain how to use .NET 6 and 7. You will learn to code a booking service as well as to test and implement the application. Moving further, you will learn about integration testing and learn how to retrieve available rooms from the application. You will also understand unit testing and implement code for unit tests. In the final section of the course, you will learn to set up a GitHub account and add projects to GitHub. You will also get the hang of Git branching and pull requests on GitHub.

After this course, you will have a foundational knowledge of test-driven development that will help you as you move forward to test and implement new features in your C# projects. You will have the skills and knowledge of creating a testable and maintainable ASP.NET core application needed to architect real-world, enterprise .NET core apps.

All resources and code files are placed here: https://github.com/PacktPublishing/Test-Driven-Development-in-.NET-Coreā€¦

Type
video
Category
publication date
2021-11-30
what you will learn

Learn unit testing - testing core application code
Learn integration testing - testing third-library interactions (such as EF core)
Explore test-driven development - red-green-refactor cycle
Learn how to use facts and theories to write tests
Explore how to write testable code
Understand good unit testing patterns and practices

duration
237
key features
Unit testing in N-tier web application projects using xUnit * Understand how to write unit tests, then create or refactor code * Review pitfalls to avoid any familiar challenges
approach
This is a compact course smartly broken up to highlight a set of related activities based on each module in the application that is being built. This step-by-step hands-on course will also take you through troubleshooting and debugging errors as we go along.
audience
To take this course, you will need to have some knowledge of .NET core development and C#. This course can be taken by any developer at all levels and anyone who wants a better understanding of how unit tests help you write better code.
meta description
Learn the skills you need in order to be able to apply test-driven development in your .NET projects.
short description
This course delves into the rudiments of unit testing, including the red-green-refactor cycle, and provides in-depth knowledge on testing and implementing business logic in a .NET Core application, Develop the ability to design, write, and execute unit tests using xUnit and Moq for robust and scalable .NET Core applications.
subtitle
Get hands-on experience using unit testing to produce a bullet-proof and testable N-Tier .NET Core application
keywords
.NET Core, Unit testing, Moq Framework, Application testing, Test Driven Development, MVC application, Refactor code, ASP.NET
Product ISBN
9781803246024