Зарегистрироваться
Восстановить пароль
FAQ по входу

Osherove R. The Art of Unit Testing with examples in C#

  • Файл формата rar
  • размером 3,69 МБ
  • содержит документ формата epub
  • Добавлен пользователем
  • Описание отредактировано
Osherove R. The Art of Unit Testing with examples in C#
2nd Edition. — Manning Publications Co., 2014. — 294 p. — ISBN10: 1617290890, ISBN13: 978-1617290893.
На англ. языке.
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
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.
Формат книги совместим с iPAD и Amazon Kindle, на PC открывается многими бесплатными ридерами, например Cool Reader, Calibre, Adobe Digital Editions
  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация