Home > Store

Developer Testing: Building Quality into Software

Register your product to gain access to bonus material or receive a coupon.

Developer Testing: Building Quality into Software

Best Value Purchase

Book + eBook Bundle

  • Your Price: $43.19
  • List Price: $71.98
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

More Purchase Options

Book

  • Your Price: $31.99
  • List Price: $39.99
  • Usually ships in 24 hours.

eBook (Watermarked)

  • Your Price: $25.59
  • List Price: $31.99
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

About

Features

  • Answers crucial developer questions such as: When have I tested this enough? How many unit tests do I need to write? What should my test verify?
  • Helps developers start thinking about testability without getting buried in specialist details
  • Offers practical guidance on transforming suboptimal legacy code into manageable, testable pieces
  • Reflects the author's extensive consulting, training, and mentoring experience, and his deep understanding of development teams' QA learning curves

Description

  • Copyright 2017
  • Dimensions: 7" x 9-1/8"
  • Pages: 352
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-429106-9
  • ISBN-13: 978-0-13-429106-2

How do successful agile teams deliver bug-free, maintainable software—iteration after iteration? The answer is: By seamlessly combining development and testing. On such teams, the developers write testable code that enables them to verify it using various types of automated tests. This approach keeps regressions at bay and prevents “testing crunches”—which otherwise may occur near the end of an iteration—from ever happening. Writing testable code, however, is often difficult, because it requires knowledge and skills that cut across multiple disciplines.

In Developer Testing, leading test expert and mentor Alexander Tarlinder presents concise, focused guidance for making new and legacy code far more testable. Tarlinder helps you answer questions like: When have I tested this enough? How many tests do I need to write? What should my tests verify? You’ll learn how to design for testability and utilize techniques like refactoring, dependency breaking, unit testing, data-driven testing, and test-driven development to achieve the highest possible confidence in your software. Through practical examples in Java, C#, Groovy, and Ruby, you’ll discover what works—and what doesn’t.

You can quickly begin using Tarlinder’s technology-agnostic insights with most languages and toolsets while not getting buried in specialist details. The author helps you adapt your current programming style for testability, make a testing mindset “second nature,” improve your code, and enrich your day-to-day experience as a software professional. With this guide, you will

  • Understand the discipline and vocabulary of testing from the developer’s standpoint
  • Base developer tests on well-established testing techniques and best practices
  • Recognize code constructs that impact testability
  • Effectively name, organize, and execute unit tests
  • Master the essentials of classic and “mockist-style” TDD
  • Leverage test doubles with or without mocking frameworks
  • Capture the benefits of programming by contract, even without runtime support for contracts
  • Take control of dependencies between classes, components, layers, and tiers
  • Handle combinatorial explosions of test cases, or scenarios requiring many similar tests
  • Manage code duplication when it can’t be eliminated
  • Actively maintain and improve your test suites
  • Perform more advanced tests at the integration, system, and end-to-end levels
  • Develop an understanding for how the organizational context influences quality assurance
  • Establish well-balanced and effective testing strategies suitable for agile teams

Extras

Author's Site

Please visit the author's site at developertesting.rocks.

Sample Content

Online Sample Chapter

Testability from a Developer's Perspective

Sample Pages

Download the sample pages (includes Chapter 4 and the Index.)

Table of Contents

  • Chapter 1: Developer Testing
  • Chapter 2: Testing Objectives, Styles, and Roles
  • Chapter 3: The Testing Vocabulary
  • Chapter 4: Testability from a Developer’s Perspective
  • Chapter 5: Programming by Contract
  • Chapter 6: Drivers of Testability
  • Chapter 7: Unit Testing
  • Chapter 8: Specification-based Testing Techniques
  • Chapter 9: Dependencies 1
  • Chapter 10: Data-driven and Combinatorial Testing
  • Chapter 11: Almost Unit Tests
  • Chapter 12: Test Doubles
  • Chapter 13: Mocking Frameworks
  • Chapter 14: Test-driven Development—Classic Style
  • Chapter 15: Test-driven Development—Mockist Style
  • Chapter 16: Duplication
  • Chapter 17: Working with Test Code
  • Chapter 18: Beyond Unit Testing
  • Chapter 19: Test Ideas and Heuristics
  • Appendix A: Tools and Libraries
  • Appendix B: Source Code
  • Bibliography
  • Index

Updates

Errata

Please visit the author's site for errata: http://developertesting.rocks/book/errata/

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership