• Complain

Stephen Vance - Quality Code: Software Testing Principles, Practices, and Patterns

Here you can read online Stephen Vance - Quality Code: Software Testing Principles, Practices, and Patterns full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Addison-Wesley Professional, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Quality Code: Software Testing Principles, Practices, and Patterns
  • Author:
  • Publisher:
    Addison-Wesley Professional
  • Genre:
  • Year:
    2013
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Quality Code: Software Testing Principles, Practices, and Patterns: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Quality Code: Software Testing Principles, Practices, and Patterns" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Test-driven, test-first, and test-early development practices are helping thousands of software development organizations improve their software. Now, in Quality Code: Software Testing Principles, Practices, and Patterns, Stephen Vance builds on all thats been learned about test-driven development, helping you achieve unprecedented levels of first-time quality. Using real-world code examples, this guide introduces patterns, principles, and more than two dozen detailed techniques for testing any software system more fully, effectively, and painlessly. Vance presents a conceptual framework to help you focus your efforts and design recommendations for improving testability across the software lifecycle, and also provides hands-on guidance to simplify testing of the full spectrum of code constructs. Youll learn how to choose the best testing techniques for every situation, from the most common scenarios to threading. Two complete case studies put it all together, walking you through testing a brand-new Java application and an untested legacy JavaScript jQuery plugin. Whether youre developing cutting-edge code for a new start-up, or maintaining an unruly old system, this guide will help you deliver exactly what you need: quality code.

Simplify unit testing of all your codeand improve integration and system testing

Delineate intent and implementation to promote more reliable and scalable testing

Overcome confusion and misunderstandings about the mechanics of writing tests

Test side effects, behavioral characteristics, and contextual constraints

Understand subtle interactions between design and testabilityand make them work for, not against, you

Discover core principles that guide your key testing decisions

Explore testing getters/setters, string handling, encapsulation, override variations, visibility, singleton patterns, error conditions, and more

Reproduce and test complex race conditions deterministically

Stephen Vance: author's other books


Who wrote Quality Code: Software Testing Principles, Practices, and Patterns? Find out the surname, the name of the author of the book and a list of all author's works by series.

Quality Code: Software Testing Principles, Practices, and Patterns — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Quality Code: Software Testing Principles, Practices, and Patterns" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
About This eBook

ePUB is an open, industry-standard format for eBooks. However, support of ePUB and its many features varies across reading devices and applications. Use your device or app settings to customize the presentation to your liking. Settings that you can customize often include font, font size, single or double column, landscape or portrait mode, and figures that you can click or tap to enlarge. For additional information about the settings and features on your reading device or app, visit the device manufacturers Web site.

Many titles include programming code or configuration examples. To optimize the presentation of these elements, view the eBook in single-column, landscape mode and adjust the font size to the smallest setting. In addition to presenting code and configurations in the reflowable text format, we have included images of the code that mimic the presentation found in the print book; therefore, where the reflowable format may compromise the presentation of the code listing, you will see a Click here to view code image link. Click the link to view the print-fidelity code image. To return to the previous page viewed, click the Back button on your device or app.

Quality Code

Software Testing Principles, Practices, and Patterns

Stephen Vance

Quality Code Software Testing Principles Practices and Patterns - image 1

Upper Saddle River, NJ Boston Indianapolis San Francisco
New York Toronto Montreal London Munich Paris Madrid
Capetown Sydney Tokyo Singapore Mexico City

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.

The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.

The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact:

U.S. Corporate and Government Sales
(800) 382-3419

For sales outside the United States, please contact:

International Sales

Visit us on the Web: informit.com/aw

Library of Congress Cataloging-in-Publication Data

Vance, Stephen.
Quality code : software testing principles, practices, and patterns / Stephen Vance.
pages cm
Includes index.
ISBN 978-0-321-83298-6 (alk. paper)ISBN 0-321-83298-1 (alk. paper)
1. Computer softwareTesting. 2. Software patterns. I. Title. II. Title: Software testing principles,
practices, and patterns.
QA76.76.T48V36 2013
005.14dc23 2013036018

Copyright 2014 Pearson Education, Inc.

All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax your request to (201) 236-3290.

ISBN-13: 978-0-321-83298-6
ISBN-10: 0-321-83298-1
Text printed in the United States on recycled paper at RR Donnelley in Crawfordsville, Indiana.
First printing, November 2013

To my Picture 2
for your continuous love and support.

To my parents
for preparing me for this and all other accomplishments.

Preface

Lean production has revolutionized manufacturing over the last several decades. Frameworks like TQM, Just-In-Time, Theory of Constraints, and the Toyota Production System have vastly improved the general state of automotive and manufacturing quality and spawned a vital competitive landscape. The family of Agile software development approaches brings the principles of Lean production to the knowledge discipline of software product development, but it needs to adapt these principles to a less mechanical context.

The idea of building the quality into the product in order to increase customer satisfaction and reduce the overall lifetime cost of maintenance has resulted in practices like test-driven development (TDD) and other test-first and test-early approaches. Regardless of which flavor you espouse, you need to understand what testable software looks like and master a wide range of techniques for implementing tests to be successful. I have found the gap between the principles and the state of the practice is often an unacknowledged source of failure in testing regimens. It is easy to say use test-driven development, but when faced with a project, many developers do not know where to start.

In showing people how to apply test-driven, or at least test-early, development, I often find that one of the obstacles is the mechanics of writing tests. Exercising a method as a mathematical function that purely translates inputs to easily accessible outputs is no problem. But much software has side effects, behavioral characteristics, or contextual constraints that are not as easy to test.

This book arose from a recurring need to show developers how to test the specific situations that stymied them. Consistently, we would sit down for a few minutes, we would write a unit test for the troublesome code, and the developer would have a new tool in his belt.

What Is This Book About?

This book is about easily and routinely testing all of your software. It primarily focuses on unit tests, but many of the techniques apply to higher-level tests as well. This book will give you the toolsthe implementation patternsto test almost any code and to recognize when the code needs to change to be testable.

What Are the Goals of This Book?

This book will help you

Understand how to easily unit test all of your code

Improve the testability of your software design

Identify the applicable testing alternatives for your code

And write tests in a way that will scale with the growth of your applications

In support of these goals, this book provides you with

Over two-dozen detailed techniques for testing your code with lots of examples

Guidance on the right testing technique for a wide range of situations

And an approach to unit testing that helps you focus your efforts

Who Should Read This Book?

This book is primarily written for the professional software developer and software developer in test who want to increase their skill at code-level testing as a means to improve the quality of their code. This book should be particularly useful to test-driven development (TDD) and test-early practitioners to help them ensure the correctness of their code from the start. Many of the techniques in this book also apply to integration and system testing.

What Background Do You Need?

This book assumes that the following points are true.

You are sufficiently fluent in object-oriented languages to be able to read and understand examples in Java, C++, and other languages and apply them to your language of choice.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Quality Code: Software Testing Principles, Practices, and Patterns»

Look at similar books to Quality Code: Software Testing Principles, Practices, and Patterns. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Quality Code: Software Testing Principles, Practices, and Patterns»

Discussion, reviews of the book Quality Code: Software Testing Principles, Practices, and Patterns and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.