Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional [NOOK Book]

Overview

A hands-on guide to testing techniques that deliver reliable software and systems

Testing even a simple system can quickly turn into a potentially infinite task. Faced with tight costs and schedules, testers need to have a toolkit of practical techniques combined with hands-on experience and the right strategies in order to complete a successful project. World-renowned testing expert Rex Black provides you with the proven methods and concepts that test professionals must know. ...

See more details below
Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$28.99
BN.com price
(Save 42%)$50.00 List Price
Note: This NOOK Book can be purchased in bulk. Please email us for more information.

Overview

A hands-on guide to testing techniques that deliver reliable software and systems

Testing even a simple system can quickly turn into a potentially infinite task. Faced with tight costs and schedules, testers need to have a toolkit of practical techniques combined with hands-on experience and the right strategies in order to complete a successful project. World-renowned testing expert Rex Black provides you with the proven methods and concepts that test professionals must know. He presents you with the fundamental techniques for testing and clearly shows you how to select and apply successful strategies to test a system with budget and time constraints.

Black begins by discussing the goals and tactics of effective and efficient testing. Next, he lays the foundation of his technique for risk-based testing, explaining how to analyze, prioritize, and document risks to the quality of the system using both informal and formal techniques. He then clearly describes how to design, develop, and, ultimately, document various kinds of tests. Because this is a hands-on activity, Black includes realistic, life-sized exercises that illustrate all of the major test techniques with detailed solutions.

By the end of this book, you'll know more about the nuts and bolts of testing than most testers learn in an entire career, and you'll be ready to put those ideas into action on your next test project.

With the help of real-world examples integrated throughout the chapters, you'll discover how to:

  • Analyze the risks to system quality
  • Allocate your testing effort appropriately based on the level of risk
  • Choose the right testing strategies every time
  • Design tests based on a system's expected behavior (black box) or internal structure (white box)
  • Plan and perform integration testing
  • Explore and attack the system
  • Focus your hard work to serve the needs of the project

The author's companion Web site provides exercises, tips, and techniques that can be used to gain valuable experience and effectively test software and systems.

Wiley Technology Publishing Timely. Practical. Reliable.

Visit the author's Web site at http://www.rexblackconsulting.com/

Read More Show Less

Product Details

  • ISBN-13: 9781118079386
  • Publisher: Wiley
  • Publication date: 4/6/2011
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 384
  • Sales rank: 1,327,002
  • File size: 4 MB

Meet the Author

Rex Black is a 20-plus-year software and systems engineering veteran, and President and Principal Consultant of RBCS, Inc., a leader in software, hardware, and systems testing. He is the author of Managing the Testing Process as well as numerous articles. Black is also President of both the International Software Testing Qualifications Board and the American Software Testing Qualifications Board.
Read More Show Less

Table of Contents

Acknowledgments.

Introduction.

Part I Goals, Strategies, and Tactics.

Chapter 1 What Does It Mean to Be Pragmatic?

What Do Effective and Efficient Mean?

What Effects Do You Want?

What Is the Right Level of Efficiency?

Avoiding Redundancy.

Reducing Cost.

What Software Testing Isn’t…But Is Often Thought to Be.

Five Phases of a Tester’s Mental Life.

Other Founding Views on Testing.

Testing as a Form of Quality Risk Management.

So What Is the Test Team All About?

What Does “Quality” Mean to You?

Chapter 2 Triangle Test Exercise.

Exercise: The Triangle Test.

Your Solution for the Triangle Test.

Your Solution for the Triangle Test (Continued).

Author’s Triangle Test Solution.

Chapter 3 Aligning Testing with the Project.

Why Do Organizations Test?

Perspectives on Testing.

Testing in Context.

Common Test Phases and Objectives.

Testing Throughout the Organization.

The V Model.

Evolutionary and Incremental Models.

The Spiral Model.

Regrettably Common Model: Code and Fix.

Testing Maintenance Releases.

System Integration.

Hardware/Software Development.

The Test Process.

Chapter 4 Understanding Test Strategies, Tactics, and Design.

Aligning Mission, Strategies, and Tactics.

Analytical Test Strategies.

Model-Based Test Strategies.

Methodical Test Strategies.

Process-Oriented Test Strategies.

Dynamic Test Strategies.

Philosophical Test Strategies.

Regression.

Regression Strategy 1: Repeat All Tests.

Regression Strategy 2: Repeat Some Tests.

Three Other Regression Strategies.

Tactics: Categories of Testing Techniques.

Strategic and Tactical Considerations.

The Test System.

Classic Principles for Test Design.

Phases of Test Development.

Synopsis of Test Strategies, Tactics, and Design.

Part II Risk-Based Testing.

Chapter 5 Understanding Risks to System Quality.

Categories of Quality Risks.

Functionality.

Performance and Reliability.

Stress, Capacity, and Volume.

States.

Transactions.

Installation and Deinstallation.

Operations.

Maintenance and Maintainability.

Regression.

Usability and User Interface.

Data Quality.

Error and Disaster Handling and Recovery.

Date and Time Handling.

Localization.

Configuration and Compatibility.

Networked, Internetworked, and Distributed.

Standards and Regulatory Compliance.

Security.

Timing and Coordination.

Documentation.

Can You Think of Other Quality Risks?

Chapter 6 Aligning Testing with Quality Risks.

Prioritize Risks to System Quality.

Testing, Customer Usage, and System Configurations.

Approaches for Quality Risks Analysis.

Informal Quality Risk Analysis.

Tips for Risk Analysis.

Challenges of Risk Analysis.

Chapter 7 Quality Risk Analysis Exercise.

My Solution.

Comments on My Solution.

A Funny Thing Happened to Me on the Way to the Quality Risks… .

Bonus Exercise.

Template.

My Solution.

Comments on My Solution.

Bonus Example: Grays and Blues Quality Risk Analysis.

Part III Static Testing.

Chapter 8 Reviews and Other Static Tests.

Testing Requirements and Designs.

Reviews Costs and Benefits.

Types of Reviews.

Reviews for Verification and Validation.

Reviews as a Way to Improve the Process, Improve the System, and Reduce Costs.

Answers to the Three Questions about Static Testing.

Reviews as a Way to Achieve Consensus and Understanding.

The Review Process, Roles, and Responsibilities.

Deliverables and Ground Rules from Reviews.

Common Requirements and Design Bugs.

Reviewing (and Testing) Documentation.

Other Static Tests.

Chapter 9 Review Exercise.

Reviews.

Your Solution.

My Solution.

Comments on My Solution.

Bonus Exercise: Reviewing Triangle Requirements Title Page.

Triangle Requirements Review Using Wiegers’s List.

The Requirements Bugs You Found.

My Solution: Requirements Bugs.

Comments on My Solution.

Part IV Behavioral Testing.

Chapter 10 Equivalence Classes and Boundary Values.

Equivalence Partitioning.

Boundary Value Analysis.

Integer.

Real Numbers.

Character and String.

Date.

Time.

Currency.

Beyond Functional Classes and Boundaries.

Chapter 11 Equivalence Classes and Boundary Values Exercise.

Functional Boundaries and Classes.

My Solution and Comments.

Nonfunctional Boundaries and Classes.

Omninet Marketing Requirements Document (v0.3).

Omninet System Requirements Document (v0.2).

Chapter 12 Use Cases, Live Data, and Decision Tables.

Use Cases and Scenario Tests.

Nouns and Verbs, Adjectives and Adverbs.

Live Data and Customer Tests.

Decision Tables.

Chapter 13 Decision Table Exercise.

Decision Table Tests.

My Solution and Comments.

Decision Tables and Boundary Values.

My Solution and Comments.

Building a Decision Table for Testing.

My Solution and Comments.

Chapter 14 State Transition Diagrams.

Describing Systems with States Using State Transition Diagrams.

State Tables.

Printer Server State Transition Diagram.

Chapter 15 State Transition Diagram Exercise.

Kiosk States.

My Solution and Comments.

ATM State Models.

My Solution and Comments.

Grays and Blues and State Transition Diagrams.

My Solution and Comments.

Chapter 16 Domain Testing.

Combinatorial Explosions.

A Domain Example Using Frequent-Flyer Programs.

Possible Domain Test Values.

An Aerospace Example.

When Domain Rules Change.

Domain Analysis Summary.

Complex Domain Testing Example.

A General Rule for Complex Domains.

Chapter 17 Domain Testing Exercise.

My Solution and Comments.

Chapter 18 Orthogonal Arrays and All Pairs.

Combinatorial Explosions.

Orthogonal Arrays and All-Pairs Tables.

Two Orthogonal Arrays.

Selecting an Orthogonal Array.

Applying Orthogonal Arrays to a Complicated Real-World Example.

All-Pairs Tables.

Other Thoughts on Configuration Testing.

Chapter 19 Orthogonal Arrays Exercise.

My Solution and Comments.

Chapter 20 Reactive Testing.

General Facts about Reactive Tests.

Error Guessing, Attacks, and Bug Taxonomies.

Bug Hunting.

Exploratory Tests.

Checklists.

Other Sources of Inspiration for Reactive Testing.

Advantages and Disadvantages.

A Case Study of Exploratory Testing.

Part V Structural Testing.

Chapter 21 Control-Flow Testing.

Code Coverage.

McCabe Cyclomatic Complexity.

Chapter 22 Control-Flow Testing Exercise.

My Solution and Comments.

Chapter 23 Data-Flow Testing.

Chapter 24 Data-Flow Testing Exercise.

My Solutions and Comments.

Chapter 25 Integration Testing.

Drivers and Stubs.

Integration Techniques.

Backbone Integration.

McCabe Basis Paths for Integration.

Enhanced Hex Converter Program.

Call Flow.

Chapter 26 Integration Basis Test Exercise.

My Solution and Comments.

Part VI Appendices.

Appendix A Omninet: The Internet Everywhere Marketing Requirements Document.

1 Scope.

1.1 Terms, Acronyms, and Abbreviations.

1.2 Applicable Documents.

2 Required release date.

3 Description of requirements.

3.1 General technical requirements.

3.1.1 Welcome.

3.1.2 Payment.

3.1.3 Internet Browser.

3.1.4 Performance.

3.1.5 Localization.

3.1.6 Content Control.

3.1.7 Session Termination.

3.1.8 Confidentiality.

3.2 Administration.

3.2.1 Software Updates.

3.2.2 View Kiosks.

3.2.3 View Users.

3.2.4 Modify User.

3.2.5 Terminate User.

Appendix B Omninet: The Internet Everywhere System Requirements Document.

Functionality System Requirements.

Reliability System Requirements.

Usability System Requirements.

Efficiency System Requirements.

Maintainability System Requirements.

Portability System Requirements.

Design Models.

Omninet System Architecture.

Payment Processing Decision Table.

Kiosk Module Flow.

Kiosk State-Transition Diagram.

Kiosk State-Transition Table.

Kiosk OS/Browser/Connection Speed Configuration Orthogonal Array.

Appendix C Bibliography and Other Recommended Readings.

RBCS Company Profile.

Index.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)