C# and .NET Core Test Driven Development

Dive into TDD to create flexible, maintainable, and production-ready .NET Core applications



Bookstore > Books > C# and .NET Core Test Driven Development

C# and .NET Core Test Driven Development
Buy
Preview
Price$31.99 - $39.99
Rating
AuthorAyobami Adewole
PublisherPackt Publishing
Published2018
Pages300
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101788292480
ISBN-139781788292481
EBook Hardcover Paperback

This book guides developers to create robust, production-ready C# 7 and .NET Core applications through the practice of test-driven development process.

In C# and .NET Core Test-Driven Development, you will learn the different stages of the TDD life cycle, basics of TDD, best practices, and anti-patterns. It will teach you how to create an ASP.NET Core MVC sample application, write testable code with SOLID principles and set up a dependency injection for your sample application. Next, you will learn the xUnit testing framework and learn how to use its attributes and assertions. You'll see how to create data-driven unit tests and mock dependencies in your code. You will understand the difference between running and debugging your tests on .NET Core on LINUX versus Windows and Visual Studio. As you move forward, you will be able to create a healthy continuous integration process for your sample application using GitHub, TeamCity, Cake, and Microsoft VSTS.

By the end of this book, you will have learned how to write clean and robust code through the effective practice of TDD, set up CI build steps to test and build applications as well as how to package application for deployment on NuGet.




Similar Books


AngularJS Test-driven Development

AngularJS Test-driven Development

Starting with reviewing the test-driven development (TDD) life cycle, you will learn how Karma and Protractor make your life easier while running JavaScript unit tests. You will learn how Protractor is different from Selenium and how to test it entirely. This book is a walk-through to using TDD to build an AngularJS application containing...
Test-Driven JavaScript Development

Test-Driven JavaScript Development

Initially, all processing used to happen on the server-side and simple output was the response to web browsers. Nowadays, there are so many JavaScript frameworks and libraries created that help readers to create charts, animations, simulations, and so on. By the time a project finishes or reaches a stable state, so much JavaScript code ha...
Pro ASP.NET Core MVC, 6th Edition

Pro ASP.NET Core MVC, 6th Edition

Visual Studio 2017 updates for this book are now available. Follow the Download Source Code link for this book on the Apress website.Now in its 6th edition, the best selling book on MVC is now updated for ASP.NET Core MVC. It contains detailed explanations of the new Core MVC functionality which enables developers to produce leaner, cloud...
Test-Driven Development with Python

Test-Driven Development with Python

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tes...
Test-Driven Development with Python, 2nd Edition

Test-Driven Development with Python, 2nd Edition

By taking you through the development of a real web application from beginning to end, the second edition of this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code requ...
Instant RSpec Test-Driven Development How-to

Instant RSpec Test-Driven Development How-to

RSpec is a behaviour driven development framework for Ruby programmers. It comes integrated with its own mocking framework based on Jmock. This book introduces you to RSpec helping you to write idiomatic specifications for Ruby code in a test first approach.Instant RSpec Test-Driven Development How-to is filled with examples of actual cod...