Working Effectively with Unit Tests

This book details Jay Fields' strong opinions on the best way to test, while acknowledging alternative styles and various contexts in which tests are written.

Working Effectively with Unit Tests

Author: Jay Fields

Publisher: Createspace Independent Publishing Platform

ISBN: 9781503242708

Page: 352

View: 300

This book details Jay Fields' strong opinions on the best way to test, while acknowledging alternative styles and various contexts in which tests are written. Whether you prefer Jay Fields' style or not, this book will help you write better Unit Tests. From the Preface: Over a dozen years ago I read Refactoring for the first time; it immediately became my bible. While Refactoring isn't about testing, it explicitly states: If you want to refactor, the essential precondition is having solid tests. At that time, if Refactoring deemed it necessary, I unquestionably complied. That was the beginning of my quest to create productive unit tests. Throughout the 12+ years that followed reading Refactoring I made many mistakes, learned countless lessons, and developed a set of guidelines that I believe make unit testing a productive use of programmer time. This book provides a single place to examine those mistakes, pass on the lessons learned, and provide direction for those that want to test in a way that I've found to be the most productive. The book does touch on some theory and definition, but the main purpose is to show you how to take tests that are causing you pain and turn them into tests that you're happy to work with.

Related Books:

Working Effectively with Unit Tests
Language: un
Pages: 352
Authors: Jay Fields
Categories:
Type: BOOK - Published: 2014-12-09 - Publisher: Createspace Independent Publishing Platform

This book details Jay Fields' strong opinions on the best way to test, while acknowledging alternative styles and various contexts in which tests are written. Whether you prefer Jay Fields' style or not, this book will help you write better Unit Tests. From the Preface: Over a dozen years ago
Working Effectively with Legacy Code
Language: un
Pages: 456
Authors: Michael Feathers
Categories: Computers
Type: BOOK - Published: 2004-09-22 - Publisher: Prentice Hall Professional

Get more out of your legacy systems: more performance, functionality, reliability, and manageability Is your code easy to change? Can you get nearly instantaneous feedback when you do change it? Do you understand it? If the answer to any of these questions is no, you have legacy code, and it
Effective Unit Testing
Language: en
Pages: 258
Authors: Lasse Koskela
Categories: Computers
Type: BOOK - Published: 2013-02-03 - Publisher: Simon and Schuster

Summary Effective Unit Testing is written to show how to write good tests—tests that are concise and to the point, expressive, useful, and maintainable. Inspired by Roy Osherove's bestselling The Art of Unit Testing, this book focuses on tools and practices specific to the Java world. It introduces you to
Testing Python
Language: un
Pages: 240
Authors: David Sale
Categories: Computers
Type: BOOK - Published: 2014-07-03 - Publisher: John Wiley & Sons

Fundamental testing methodologies applied to the popular Pythonlanguage Testing Python; Applying Unit Testing, TDD, BDD andAcceptance Testing is the most comprehensive book available ontesting for one of the top software programming languages in theworld. Python is a natural choice for new and experienceddevelopers, and this hands-on resource is a much
Testing ASP.NET Web Applications
Language: en
Pages: 432
Authors: Jeff McWherter, Ben Hall
Categories: Computers
Type: BOOK - Published: 2011-06-15 - Publisher: John Wiley & Sons

A unique resource that combines all aspects of Web testing and makes it completely specific to ASP.NET As Microsoft's key Web technology for creating dynamic, data-driven Web sites and Web applications, ASP.NET is incredibly popular. This is the first book to combine several testing topics and make them specific to