- C# and .NET Core Test Driven Development
- Ayobami Adewole
- 229字
- 2021-06-25 22:00:24
Preface
How do you verify that your cross-platform .NET Core application will work wherever it is deployed? As your business, team, and the technical environment evolves, can your code evolve with it? You can simplify your code base, make finding and fixing bugs trivial, and ensure your code does what you think it does by following the principles of test-driven development.
This book guides developers through the process of creating robust, production-ready C# 7 and .NET Core applications by establishing a professional test-driven development process. To do this, you will begin by learning the stages of the TDD life cycle, some best practices, and some anti-patterns.
After covering the basics of TDD in the first chapter, you will get right into creating a sample ASP.NET Core MVC application. You will learn how to write testable code with SOLID principles, and set up dependency injection.
Next, you will learn how to create unit tests using the xUnit.net testing framework, and how to use its attributes and assertions. Once you have the basics in place, you will learn how to create data-driven unit tests and how to mock dependencies in your code.
At the end of this book, you will wrap up by creating a healthy continuous integration process, using GitHub, TeamCity, VSTS, and Cake. Finally, you will modify the Continuous Integration build to test, version, and package a sample application.
- Boost.Asio C++ Network Programming(Second Edition)
- 程序員面試白皮書
- 圖解Java數據結構與算法(微課視頻版)
- Rust編程從入門到實戰
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- MySQL數據庫基礎實例教程(微課版)
- OpenResty完全開發指南:構建百萬級別并發的Web應用
- Visual Foxpro 9.0數據庫程序設計教程
- Clojure編程樂趣
- Unreal Engine Game Development Cookbook
- Building Microservices with .NET Core 2.0(Second Edition)
- C#網絡程序開發(第二版)
- 深入理解C++11:C++11新特性解析與應用
- Xamarin Mobile Application Development for Android(Second Edition)
- Java程序設計項目教程(第二版)