Items related to The Art of Unit Testing: With Examples in C#

The Art of Unit Testing: With Examples in C# - Softcover

 
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 Publications
  • Publication date2013
  • ISBN 10 1617290890
  • ISBN 13 9781617290893
  • BindingPaperback
  • LanguageEnglish
  • Edition number2
  • Number of pages375

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

£ 7.74
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

£ 8.45
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

£ 5.89
Convert currency
Shipping: £ 3
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: Bay State Book Company, North Smithfield, RI, U.S.A.

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

Condition: good. The book is in good condition with all pages and cover intact, including the dust jacket if originally issued. The spine may show light wear. Pages may contain some notes or highlighting, and there might be a "From the library of" label. Boxed set packaging, shrink wrap, or included media like CDs may be missing. Seller Inventory # BSM.KN9M

Contact seller

Buy Used

£ 9.13
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: WorldofBooks, Goring-By-Sea, WS, United Kingdom

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

Paperback. Condition: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Seller Inventory # GOR008496338

Contact seller

Buy Used

£ 4.88
Convert currency
Shipping: £ 5.60
From United Kingdom to 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

£ 10.74
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

£ 11.62
Convert currency
Shipping: £ 2.82
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

£ 18.52
Convert currency
Shipping: £ 3.20
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

£ 29.85
Convert currency
Shipping: £ 3.20
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

£ 33.17
Convert currency
Shipping: £ 5.02
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 6 available

Add to basket

There are 11 more copies of this book

View all search results for this book