Video description
In this course, you will learn the skills you need to be able to apply TDD in your .NET projects. Test Driven Development (TDD) is a powerful approach to building solid and robust software. Unit Testing is a type of software testing where code is written to automate the testing of sub-sections of an entire application. This methodology gives more functional coverage and reduces the need for manual regression testing when the application's code changes. The purpose is to validate that each unit of the software code performs as expected.
You will discover the basics of unit testing and the red-green-refactor cycle. You will also learn how to test and implement business logic in a .NET Core application using xUnit as a testing framework and Moq as a mocking library.
After this course, you will have fundamental 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.
Distributed by Manning Publications
This course was created independently by Trevoir Williams and is distributed by Manning through our exclusive liveVideo platform.
About the Technology
About the Video
What's Inside
- Unit testing - testing Core Application code
- Moq framework
- xUnit testing framework
- Integration Testing - Testing Third-Party Library Interactions (Like EF Core)
- Application Level Unit Testing - Testing that the MVC Application behaves correctly
- Test Driven Development - Red-Green-Refactor Cycle
- Use Facts and Theories to write tests
- Write testable code
- Good unit testing patterns and practices
- Unit testing in N-tier web application projects using xUnit
About the Reader
Working knowledge of .NET Core development and C#
About the Author
Trevoir Williams is a passionate software and system engineer with a strong drive to share the best of his knowledge with students around the globe. His educational achievements include a Master’s degree in Computer Science (major in Software Development) and several Microsoft Azure Certifications.
His impressive work experience includes software consulting, software engineering, database development, cloud system, server administration, lecturing, and he’s also a musician!
Trevoir enjoys teaching IT and development skills and guides students in gaining the latest knowledge with practical application in the modern industry.
Quotes
Table of contents
- Introduction
- Getting Started with Test Driven Development
-
Unit Testing - Application Core
- Review Full Requirement List with GitHub Projects
- Test and Implement: Throw Exception When Request Is Null
- Create Booking Services
- Unit Test: Save a Room Booking
- Implement: Save a Room Booking
- Unit Test: Check if Room Is Available
- Implement: Check if Room is Available
- Test and Implement: Add Room Id to Result
- Test and Implement: Return Successful or Failed Booking Result
- Test and Implement: Add Booking Id to Result
- Section Review
- Integration Testing - Testing the Data Access Layer
- Application Testing - Unit Testing ASP.NET Core (UI) Application
- Conclusion
Product information
- Title: Test Driven Development in ASP.NET Core - The Handbook
- Author(s):
- Release date: July 2022
- Publisher(s): Manning Publications
- ISBN: 10000DIVC2022126
You might also like
book
C# and .NET Core Test Driven Development
Learn how to apply a test-driven development process by building ready C# 7 and .NET Core …
video
Ultimate ASP.NET Core Web API Development Guide
Learn how to build a RESTful API using ASP.NET Core API, Entity Framework, enterprise-grade practices for …
video
Ultimate ASP.NET Core Web API Development Guide
Microsoft .NET is the platform that drives the business technology of many of the top corporations …
book
ASP.NET Core 5 and React - Second Edition
Build fully functional, cloud-ready, and professional web applications using the latest features in the .NET 5 …