Pragmatic Test-Driven Development in C# And . NET Write Loosely Coupled, Documented, and High-Quality Code with DDD Using Familiar Tools and Libraries
What you will learn Writing unit tests with xUnit and getting to grips with dependency injection Implementing test doubles and mocking with NSubstitute Using the TDD style for unit testing in conjunction with DDD and best practices Mixing TDD with the ASP.NET API, Entity Framework, and databases Mov...
Main Author: | |
---|---|
Format: | eBook |
Language: | English |
Published: |
Birmingham
Packt Publishing, Limited
2022
|
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Table of Contents Writing Your First TDD Implementation Understanding Dependency Injection by Example Getting Started with Unit Testing Real Unit Testing with Test Doubles Test-Driven Development Explained The FIRSTHAND Guidelines of TDD A Pragmatic View of Domain-Driven Design Designing an Appointment Booking App Building an Appointment Booking App with Entity Framework and Relational DB Building an App with Repositories and Document DB Implementing Continuous Integration with GitHub Actions Dealing with Brownfield Projects The Intricacies of Rolling Out TDD Appendix 1 - Commonly Used Libraries with Unit Tests Appendix 2 - Advanced Mocking Scenarios