Summer Reading B2G1 Free
 
 

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to PowellsBooks.news
for a chance to win.
Privacy Policy

Visit our stores


    Recently Viewed clear list


    Q&A | July 20, 2015

    Jesse Ball: IMG Powell’s Q&A: Jesse Ball



    Describe your latest book. I woke up one day from a sort of daydream with an idea for a book's structure, and for the thread of that book, one... Continue »
    1. $16.80 Sale Hardcover add to wish list

      A Cure for Suicide

      Jesse Ball 9781101870129

    spacer
Qualifying orders ship free.
$44.99
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
Qty Store Section
1 Beaverton COMP- SWENG SWENG

Quality Code: Software Testing Principles, Practices, and Patterns

by

Quality Code: Software Testing Principles, Practices, and Patterns Cover

 

Synopses & Reviews

Publisher Comments:

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 that’s 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. You’ll 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 you’re 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 code—and 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 testability—and 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

 

Synopsis:

 

In 1999, eXtreme Programming (XP) brought the practices of test-first development to the forefront. Test-driven development (TDD) as a practice has taken on a life of its own, independent of its use in XP. Test-driven, test-first and test early development practices have become commonplace in the industry with the benefits of improving software design and testability. In  Quality Code , Stephen Vance changes the concept of what is possible and reasonable in testing thoroughness and advances the software industry’s capacity for first-time quality.

This book provides the conceptual framework and hands-on guidance for easy and routine testing of the full spectrum of code constructs. Using real-world code examples, Vance leads you through the implementation patterns you can use to thoroughly test your software and the principles necessary to understand how to apply them on your way to producing  Quality Code .

 

The book includes

  • More than two dozen detailed techniques for code-level testing, featuring real-world code examples
  • Multiple testing techniques in multiple languages for a wide range of situations from the mundane to threading
  • Guidance on the right testing technique for each situation
  • An approach to code-level testing that helps you focus your efforts effectively
  • Information on patterns that support testing

 

 

Quality Code  contains years of experience from numerous highly skilled software engineers in the practice of unit testing. Whether you are writing the next new thing at a startup or trying to tame an unruly legacy system, this book will make you a more effective developer of  Quality Code .

 

 

Synopsis:

This practical, solutions-focused book shows software professionals how to easily and routinely achieve exceptionally high coverage in their unit tests, and use that coverage to significantly improve first-time quality in their software.

 

Long-time developer and testing expert Stephen Vance shows why guidelines recommending coverage of 80% of statements (or some other arbitrary number) are insufficient — and why 100% coverage in multiple metrics is both valuable and achievable. One realistic example at a time, Vance dispels the myth that high coverage unit testing is hard and not worth the effort by demonstrating the implementation patterns and refactorings that make it possible and even easy.

 

With Vance’s guidance, you can:

  • Unit test all or virtually all of your code
  • Improve the testability of your software designs
  • Consistently identify the most effective testing approaches for each project
  • Address specialized testing challenges such as databases, threaded code, or legacy upgrades
  • Write unit tests that can scale as your applications grow

About the Author

Stephen Vance has been a professional software developer, consultant, manager, mentor, and instructor since 1992. He has practiced and taught code-level, automated testing techniques since 1997. He has worked across a broad range of industries for companies ranging from start-ups to Fortune 100 corporations. He has spoken at software conferences throughout the United States and Europe. Stephen lives with his wife near Boston, Massachusetts.

Table of Contents

1. Engineering, Craftsmanship, and First-time Quality

 

Part I: Principles and Practices of Testing

2. Where Do I Start?

3. Looking at Code

4. Good Design and Design for Testability

5. Principles

 

Part II: Testing and Testability Patterns

6. The Basics

7. String Handling

8. Encapsulation and Override Variations

9. Adjusting Visibility

10. Testing Pattern Implementations

11. Error Condition Verification

12. Using Existing Facilities

13. Parallelism

 

Part III: Worked Examples

Product Details

ISBN:
9780321832986
Author:
Vance, Stephen
Publisher:
Addison-Wesley Professional
Subject:
Software Engineering-General
Subject:
Programming - Software Development
Copyright:
Edition Description:
Trade paper
Publication Date:
20131206
Binding:
TRADE PAPER
Language:
English
Pages:
256
Dimensions:
9 x 7 x 0.546 in 415 gr

Related Subjects

Computers and Internet » Software Engineering » General
Computers and Internet » Software Engineering » Programming and Languages
Computers and Internet » Software Engineering » Quality Assurance and Testing
Computers and Internet » Software Engineering » Software Management
Reference » Bibliography and Library Science

Quality Code: Software Testing Principles, Practices, and Patterns New Trade Paper
0 stars - 0 reviews
$44.99 In Stock
Product details 256 pages Addison-Wesley Professional - English 9780321832986 Reviews:
"Synopsis" by ,  

In 1999, eXtreme Programming (XP) brought the practices of test-first development to the forefront. Test-driven development (TDD) as a practice has taken on a life of its own, independent of its use in XP. Test-driven, test-first and test early development practices have become commonplace in the industry with the benefits of improving software design and testability. In  Quality Code , Stephen Vance changes the concept of what is possible and reasonable in testing thoroughness and advances the software industry’s capacity for first-time quality.

This book provides the conceptual framework and hands-on guidance for easy and routine testing of the full spectrum of code constructs. Using real-world code examples, Vance leads you through the implementation patterns you can use to thoroughly test your software and the principles necessary to understand how to apply them on your way to producing  Quality Code .

 

The book includes

  • More than two dozen detailed techniques for code-level testing, featuring real-world code examples
  • Multiple testing techniques in multiple languages for a wide range of situations from the mundane to threading
  • Guidance on the right testing technique for each situation
  • An approach to code-level testing that helps you focus your efforts effectively
  • Information on patterns that support testing

 

 

Quality Code  contains years of experience from numerous highly skilled software engineers in the practice of unit testing. Whether you are writing the next new thing at a startup or trying to tame an unruly legacy system, this book will make you a more effective developer of  Quality Code .

 

 

"Synopsis" by ,

This practical, solutions-focused book shows software professionals how to easily and routinely achieve exceptionally high coverage in their unit tests, and use that coverage to significantly improve first-time quality in their software.

 

Long-time developer and testing expert Stephen Vance shows why guidelines recommending coverage of 80% of statements (or some other arbitrary number) are insufficient — and why 100% coverage in multiple metrics is both valuable and achievable. One realistic example at a time, Vance dispels the myth that high coverage unit testing is hard and not worth the effort by demonstrating the implementation patterns and refactorings that make it possible and even easy.

 

With Vance’s guidance, you can:

  • Unit test all or virtually all of your code
  • Improve the testability of your software designs
  • Consistently identify the most effective testing approaches for each project
  • Address specialized testing challenges such as databases, threaded code, or legacy upgrades
  • Write unit tests that can scale as your applications grow
spacer
spacer
  • back to top

FOLLOW US ON...

     
Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.