Items related to The Art of Unit Testing: with examples in C#

The Art of Unit Testing: with examples in C# - Softcover

  • 4.09 out of 5 stars
    1,406 ratings by Goodreads
 
9781617290893: The Art of Unit Testing: with examples in C#

Synopsis

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" may belong to another edition of this title.

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.

"About this title" may belong to another edition of this title.

  • PublisherManning
  • Publication date2013
  • ISBN 10 1617290890
  • ISBN 13 9781617290893
  • BindingPaperback
  • LanguageEnglish
  • Edition number2
  • Number of pages296
  • Rating
    • 4.09 out of 5 stars
      1,406 ratings by Goodreads

Buy Used

Condition: Good
Ship within 24hrs. Satisfaction...
View this item

FREE shipping within U.S.A.

Destination, rates & speeds

Search results for The Art of Unit Testing: with examples in C#

Stock Image

Osherove, Roy
Published by Manning (edition 2nd), 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Used Paperback

Seller: BooksRun, Philadelphia, PA, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. 2nd. Ship within 24hrs. Satisfaction 100% guaranteed. APO/FPO addresses supported. Seller Inventory # 1617290890-11-1

Contact seller

Buy Used

US$ 10.07
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Osherove, Roy
Published by Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Used paperback

Seller: Goodwill Books, Hillsboro, OR, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

paperback. Condition: VeryGood. Minimal signs of wear. Seller Inventory # 3IIT7G005QQU_ns

Contact seller

Buy Used

US$ 7.60
Convert currency
Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Seller Image

Osherove, Roy
Published by Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Used Softcover

Seller: Blue Vase Books, Interlochen, MI, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: good. The item shows wear from consistent use, but it remains in good condition and works perfectly. All pages and cover are intact including the dust cover, if applicable . Spine may show signs of wear. Pages may include limited notes and highlighting. May NOT include discs, access code or other supplemental materials. Seller Inventory # BVV.1617290890.G

Contact seller

Buy Used

US$ 13.86
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Seller Image

Osherove, Roy
Published by Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Used Softcover

Seller: Dream Books Co., Denver, CO, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: acceptable. This copy has clearly been enjoyedâ"expect noticeable shelf wear and some minor creases to the cover. Binding is strong, and all pages are legible. May contain previous library markings or stamps. Seller Inventory # DBV.1617290890.A

Contact seller

Buy Used

US$ 15.71
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Osherove, Roy
Published by Manning Publications, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Used Paperback

Seller: HPB-Emerald, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Very Good. Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_433687172

Contact seller

Buy Used

US$ 14.99
Convert currency
Shipping: US$ 3.75
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Osherove, Roy
Published by Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Used Paperback

Seller: Grumpys Fine Books, Tijeras, NM, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: very good. little wear and tear. Seller Inventory # Grumpy1617290890

Contact seller

Buy Used

US$ 27.78
Convert currency
Shipping: US$ 4.25
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Osherove, Roy
Published by Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
New Paperback

Seller: Grumpys Fine Books, Tijeras, NM, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: new. Prompt service guaranteed. Seller Inventory # Clean1617290890

Contact seller

Buy New

US$ 39.80
Convert currency
Shipping: US$ 4.25
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Roy Osherove
Published by Pearson Education, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
New PAP

Seller: PBShop.store UK, Fairford, GLOS, United Kingdom

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Shipped from UK. Established seller since 2000. Seller Inventory # PB-9781617290893

Contact seller

Buy New

US$ 45.35
Convert currency
Shipping: US$ 6.66
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 6 available

Add to basket

Stock Image

0
Published by Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
New Softcover

Seller: Basi6 International, Irving, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Brand New. New. US edition. Expediting shipping for all USA and Europe orders excluding PO Box. Excellent Customer Service. Seller Inventory # ABEJUNE24-11547

Contact seller

Buy New

US$ 58.86
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Osherove, Roy
Published by Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
New Softcover

Seller: Romtrade Corp., STERLING HEIGHTS, MI, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. This is a Brand-new US Edition. This Item may be shipped from US or any other country as we have multiple locations worldwide. Seller Inventory # ABNR-28788

Contact seller

Buy New

US$ 58.86
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 5 available

Add to basket

There are 9 more copies of this book

View all search results for this book