The Art of Unit Testing Titelbild

The Art of Unit Testing

With Examples in C#

Reinhören
0,00 € - kostenlos hören
Aktiviere das kostenlose Probeabo mit der Option, monatlich flexibel zu pausieren oder zu kündigen.
Nach dem Probemonat bekommst du eine vielfältige Auswahl an Hörbüchern, Kinderhörspielen und Original Podcasts für 9,95 € pro Monat.
Wähle monatlich einen Titel aus dem Gesamtkatalog und behalte ihn.

The Art of Unit Testing

Von: Roy Osherove
Gesprochen von: Mark Thomas
0,00 € - kostenlos hören

9,95 € pro Monat nach 30 Tagen. Monatlich kündbar.

Für 20,95 € kaufen

Für 20,95 € kaufen

Über diesen Titel

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 listening. The examples in the audiobook use C# but will benefit anyone using a statically typed language such as Java or C++.

What's inside:

  • Create readable, maintainable, trustworthy tests
  • Fakes, stubs, mock objects, and isolation (mocking) frameworks
  • Simple dependency injection techniques
  • Refactoring legacy code

Roy Osherove has been coding for more than 15 years, and he consults and trains teams worldwide on the gentle art of unit testing and test-driven development.

Table of contents:

Part one: "Getting Started"

  • The basics of unit testing
  • A first unit test

Part two: "Core Techniques"

  • Using stubs to break dependencies
  • Interaction testing using mock objects
  • Isolation (mocking) frameworks
  • Digging deeper into isolation frameworks

Part three: "The Test Code"

  • Test hierarchies and organization
  • The pillars of good unit tests

Part four: "Design and Process"

  • Integrating unit testing into the organization
  • Working with legacy code
  • Design and testability

PLEASE NOTE: When you purchase this title, the accompanying PDF will be available in your Audible Library along with the audio.

©2013 Manning Publications (P)2013 Manning Publications
Programmieren & Softwareentwicklung
Noch keine Rezensionen vorhanden