Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
The Art of Unit Testing: with examples in C#

Buy

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.

 

(HTML tags aren't allowed.)

Service Oriented Architecture: An Integration Blueprint
Service Oriented Architecture: An Integration Blueprint

Successfully implement your own enterprise integration architecture using the Trivadis Integration Architecture Blueprint

Overview of Service Oriented Architecture: An Integration Blueprint

  • Discover and understand the structure of existing application landscapes from an integration perspective
  • ...
Practical Web Traffic Analysis: Standards, Privacy, Techniques, and Results
Practical Web Traffic Analysis: Standards, Privacy, Techniques, and Results

Once you've got a web site up and running it is all too easy to sit back and relax. But how do you know you did a good job? How can you improve the site you have based on real user behaviour? Without getting feedback from your users, how will you find out how it's being used? Web traffic analysis allows you to gain some insight into...

Natural Products from Plants, Second Edition
Natural Products from Plants, Second Edition
The Council on Botanical and Horticultural Libraries

Annual Award for a Significant Work in Botanical or Horticultural Literature

From medicinal, industrial, and culinary uses to cutting-edge laboratory techniques in modern research and plant conservation strategies,...


Effective XML: 50 Specific Ways to Improve Your XML
Effective XML: 50 Specific Ways to Improve Your XML

If you want to become a more effective XML developer, you need this book. You will learn which tools to use when in order to write legible, extensible, maintainable and robust XML code.

  • How do you write DTDs that are independent of namespace prefixes?

  • ...
Software Architecture with Spring 5.0: Design and architect highly scalable, robust, and high-performance Java applications
Software Architecture with Spring 5.0: Design and architect highly scalable, robust, and high-performance Java applications

Discover how different software architectural models can help you solve problems, and learn best practices for the software development cycle

Key Features

  • Learn concepts related to software architecture and embrace them using the latest features of Spring 5
  • Discover...
AutoCAD 2010 Essentials, Comprehensive Edition
AutoCAD 2010 Essentials, Comprehensive Edition

Unlike many AutoCAD competitors, this book covers all of the basics of Level 1 and Level 2 AutoCAD concepts. It uses "mixed units" e.g., inches, meters, feet, kilometers, etc., to illustrate the myriad drawing and editing tools for this popular application. Use the DVD to set up all the drawing lessons and projects in the text, see...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy