The Art of Unit Testing with examples in C# (+code)
- Добавил: SCART56
- Дата: 1-03-2018, 20:13
- Комментариев: 0
Название: The Art of Unit Testing with examples in C# (+code)
Автор: Osherove R.
Издательство: Manning Publications Co.
Год: 2014
Страниц: 294
Формат: PDF
Размер: 31 Мб
Язык: English
The Art of Unit Testing, Second Edition guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy. You’ll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks such as Moq, FakeItEasy, and Typemock Isolator. You’ll explore test patterns and organization, working with legacy code, and even untestable code. Along the way, you’ll learn about integration testing and techniques and tools for testing databases and other technologies.
You know you should be unit testing, so why aren’t you doing it? If you’re new to unit testing, if you find unit testing tedious, or if you’re just not getting enough payoff for the effort you put into it, keep reading.
What’s Inside: Create readable, maintainable, trustworthy tests Fakes, stubs, mock objects, and isolation (mocking) frameworks Simple dependency injection techniques Refactoring legacy code
Table of Contents:
Getting started.
The basics of unit testing.
A first unit test.
Core techniques.
Using stubs to break dependencies.
Interaction testing using mock objects.
Isolation (mocking) frameworks.
Digging deeper into isolation frameworks.
The test code.
Test hierarchies and organization.
The pillars of good unit tests.
Design and process.
Integrating unit testing into the organization.
Working with legacy code.
Design and testability.
The book is for anyone who writes code and is interested in learning best practices for unit testing. All the examples are written in C# using Visual Studio, so .NET developers will find the examples particularly useful. But the lessons I teach apply equally to most, if not all, object-oriented and statically typed languages (VB.NET, Java, and C++, to name a few). If you’re an architect, developer, team lead, QA engineer (who writes code), or novice programmer, this book should suit you well.
Скачать Osherove R. - The Art of Unit Testing with examples in C# (+code)
.
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.