Video description
Learn the skills you need to be able to apply TDD in your .NET projects
About This Video
- 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
In Detail
Test-Driven Development (TDD) is a powerful approach to building solid and robust software. In this course, you will learn the skills you need 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 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.
We will also look at troubleshooting and debugging errors as we go along; implementing best practices; writing efficient logic and understanding why developers do things the way they do. Your knowledge will grow, step-by-step, throughout the course and you will be challenged to be the best you can be.
After this course, you will have 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.
Who this book is for
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 to write better code.
Publisher resources
Table of contents
- Chapter 1 : Introduction
- Chapter 2 : Getting Started with Test Driven Development
-
Chapter 3 : 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 Room Id to Result
- Section Review
- Chapter 4 : Integration Testing – Testing the Data Access Layer
- Chapter 5 : Application Testing – Unit Testing ASP.NET Core(UI) Application
- Chapter 6 : Conclusion
Product information
- Title: Test Driven Development in .NET Core - The Handbook
- Author(s):
- Release date: November 2021
- Publisher(s): Packt Publishing
- ISBN: 9781803246024
You might also like
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn't clean, it can bring a development organization …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …