We Need Diverse Ya Sale
 
 

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to PowellsBooks.news
for a chance to win.
Privacy Policy

Visit our stores


    Recently Viewed clear list


    Lists | June 22, 2015

    Stephen Jarvis: IMG Robert Seymour — 13 Pictures



    1. Self-Portrait. My new novel, Death and Mr. Pickwick, tells the story of the origins of Charles Dickens's first novel, The Pickwick Papers. Its... Continue »
    1. $21.00 Sale Hardcover add to wish list

      Death and Mr. Pickwick

      Stephen Jarvis 9780374139667

    spacer
Qualifying orders ship free.
$44.99
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
Qty Store Section
1 Burnside Microsoft Windows- Programming .NET

More copies of this ISBN

The Art of Unit Testing: With Examples in C#

by

The Art of Unit Testing: With Examples in C# Cover

 

Synopses & Reviews

Publisher Comments:

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.

About this Book

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.

The Art of Unit Testing, Second Edition guides you step by step from writing your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. You'll move quickly to more complicated subjects like mocks and stubs, while learning to use isolation (mocking) frameworks like Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, refactor code applications, and learn how to test "untestable" code. Along the way, you'll learn about integration testing and techniques for testing with databases.

The examples in the book use C#, but will benefit anyone using a statically typed language such as Java or C++.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

What's Inside

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

About the Author

Roy Osherove has been coding for over 15 years, and he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. His blog is at ArtOfUnitTesting.com.

Table of Contents

    PART 1 GETTING STARTED
    1. The basics of unit testing
    2. A first unit test

    3. PART 2 CORE TECHNIQUES
    4. Using stubs to break dependencies

    5. Interaction testing using mock objects

    6. Isolation (mocking) frameworks

    7. Digging deeper into isolation frameworks

    8. PART 3 THE TEST CODE
    9. Test hierarchies and organization

    10. The pillars of good unit tests

    11. PART 4 DESIGN AND PROCESS
    12. Integrating unit testing into the organization

    13. Working with legacy code
    14. Design and testability

Synopsis:

Developers know they "should" be unit testing, but it can be intimidating and tedious, and they don't always see the payoff for the effort they put into it.

The Art of Unit Testing, Second Edition is a step-by-step guide that helps reluctant developers learn how to write simple tests and leads them through developing robust test sets that are maintainable, readable, and trustworthy. Readers will explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, they'll learn about integration testing and techniques and tools for testing databases and other technologies.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning.

About the Author

Roy Osherove consults and trains teams worldwide on the gentle art of unit testing and test-driven development, and trains team leaders how to lead better at 5whys.com. He tweets at @RoyOsherove and has many videos about unit testing at ArtOfUnitTesting.com. His testing blog is at http://osherove.com/blog.

Product Details

ISBN:
9781617290893
Author:
Osherove, Roy
Publisher:
Manning Publications
Subject:
.NET;FakeItEasy;Fakes;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactoring technique
Subject:
.NET;FakeItEasy;Fakes;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactoring technique
Subject:
.NET;FakeItEasy;Fakes;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactoring technique
Subject:
.NET;FakeItEasy;Fakes;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactoring technique
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
Computer Languages-C++
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Subject:
.NET;C#;C++;FakeItEasy;Fakes;Java;Moq;NUnit;Stubs;Typemock Isolator;Unit testing;constructor injection;database integration testing;isolation frameworks;legacy code;mock objects;profiler based frameworks;property injection;proxy based frameworks;refactori
Copyright:
Edition Description:
Second Edition
Publication Date:
20131231
Binding:
TRADE PAPER
Language:
English
Pages:
296
Dimensions:
9.25 x 7.38 in

Related Subjects

Business » Communication
Business » General
Computers and Internet » Computer Languages » C#
Computers and Internet » Computer Languages » C++
Computers and Internet » Operating Systems » Microsoft Windows » Programming .NET
Computers and Internet » Programming » Microsoft Programming
Computers and Internet » Software Engineering » Programming and Languages
Computers and Internet » Software Engineering » Quality Assurance and Testing
Computers and Internet » Software Engineering » Software Management
Health and Self-Help » Health and Medicine » General
Health and Self-Help » Health and Medicine » General Medicine

The Art of Unit Testing: With Examples in C# New Trade Paper
0 stars - 0 reviews
$44.99 In Stock
Product details 296 pages Manning Publications - English 9781617290893 Reviews:
"Synopsis" by ,

Developers know they "should" be unit testing, but it can be intimidating and tedious, and they don't always see the payoff for the effort they put into it.

The Art of Unit Testing, Second Edition is a step-by-step guide that helps reluctant developers learn how to write simple tests and leads them through developing robust test sets that are maintainable, readable, and trustworthy. Readers will explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, they'll learn about integration testing and techniques and tools for testing databases and other technologies.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning.

spacer
spacer
  • back to top

FOLLOW US ON...

     
Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.