• The Art of Unit Testing

  • With Examples in C#
  • By: Roy Osherove
  • Narrated by: Mark Thomas
  • Length: 9 hrs and 35 mins
  • 3.6 out of 5 stars (8 ratings)

Prime logo Prime members: New to Audible?
Get 2 free audiobooks during trial.
Pick 1 audiobook a month from our unmatched collection.
Listen all you want to thousands of included audiobooks, Originals, and podcasts.
Access exclusive sales and deals.
Premium Plus auto-renews for $14.95/mo after 30 days. Cancel anytime.
The Art of Unit Testing  By  cover art

The Art of Unit Testing

By: Roy Osherove
Narrated by: Mark Thomas
Try for $0.00

$14.95/month after 30 days. Cancel anytime.

Buy for $19.95

Buy for $19.95

Pay using card ending in
By confirming your purchase, you agree to Audible's Conditions of Use and Amazon's Privacy Notice. Taxes where applicable.

Publisher's summary

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

What listeners say about The Art of Unit Testing

Average customer ratings
Overall
  • 3.5 out of 5 stars
  • 5 Stars
    2
  • 4 Stars
    4
  • 3 Stars
    0
  • 2 Stars
    1
  • 1 Stars
    1
Performance
  • 4 out of 5 stars
  • 5 Stars
    2
  • 4 Stars
    3
  • 3 Stars
    0
  • 2 Stars
    0
  • 1 Stars
    1
Story
  • 4 out of 5 stars
  • 5 Stars
    2
  • 4 Stars
    3
  • 3 Stars
    0
  • 2 Stars
    0
  • 1 Stars
    1

Reviews - Please select the tabs below to change the source of reviews.

Sort by:
Filter by:
  • Overall
    4 out of 5 stars
  • Performance
    4 out of 5 stars
  • Story
    5 out of 5 stars

excellent if you have no idea about software tests

I was just starting out and have never written a single test this book gave me the thinking patterns I need to tackle software with a testing mind

Something went wrong. Please try again in a few minutes.

You voted on this review!

You reported this review!

1 person found this helpful