Overview
Test-driven development (TDD) offers a systematic way to write better, cleaner code, and this book, "Pragmatic Test-Driven Development in C# and .NET," serves as your practical guide to mastering it. You will learn how to implement TDD using familiar tools like Visual Studio and frameworks such as ASP.NET Core and Entity Framework in genuine software scenarios, from foundational concepts to advanced strategies.
What this Book will help me do
- Understand and effectively implement unit tests using xUnit and dependency injection.
- Master the use of test doubles and mocking with frameworks such as NSubstitute.
- Build robust TDD-based .NET applications incorporating domain-driven design and SOLID principles.
- Combine TDD with modern development practices, including working with databases, APIs, and CI/CD pipelines.
- Develop the leadership and technical advocacy skills needed to encourage TDD adoption within your team or organization.
Author(s)
Adam Tibi, a seasoned software engineer with years of experience in the .NET ecosystem, is passionate about sharing his knowledge of practical software development methodologies. With hands-on expertise in TDD and domain-driven design, he aims to break down complex concepts into actionable strategies for developers. Adam enjoys teaching and works to inspire confidence and understanding in his readers.
Who is it for?
This book is designed for mid to senior-level .NET developers looking to implement TDD as part of their toolkit. It assumes familiarity with object-oriented programming and the basics of C#, but does not require prior experience with TDD. Ideal for developers aiming to improve code quality via unit testing, this book also serves as a guide for those advocating for TDD adoption within their organizations.