Booking options
£41.99
£41.99
On-Demand course
3 hours 57 minutes
All levels
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.
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---The-Handbook
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
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.
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.
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
https://github.com/PacktPublishing/Test-Driven-Development-in-.NET-Core---The-Handbook
Trevoir Williams is a software engineer and part-time lecturer. With a master's degree in computer science, he has spent over a decade teaching web, software, and database development courses. He also has extensive industry experience in web application development, Azure Cloud system, and server administration. He enjoys teaching IT and development courses and hopes to impart knowledge of the latest developments in industry standards and techniques to his students.
1. Introduction
2. Getting Started with Test Driven Development
3. Unit Testing - Application Core
4. Integration Testing - Testing the Data Access Layer
5. Application Testing - Unit Testing ASP.NET Core (UI) Application
6. Application Testing - Unit Testing ASP.NET Core (UI) Application