Just Enough Software Test Automation

Book description

  • Techniques that improve software quality and reduce time to market

  • Pragmatic approaches to plan and manage every facet of automated software testing

  • Includes a complete sample automation project plan

  • Practical automated testing techniques that enhance software quality and reduce time to market!

    Just Enough Test Automation is a practical, hands-on guide to software test automation from the perspective of test developers and users. Two leading software testing consultants offer real-world dos and don'ts for designing and implementing test automation infrastructure—along with pragmatic advice on what today's most popular approaches to automated testing can and can't accomplish. Coverage includes:

  • Setting realistic expectations: knowing when and what to automate

  • Planning for automated testing

  • Implementing the Control Synchronized Data Driven Testing (CSDDT) Framework, a proven approach to simplify and accelerate testing

  • Simplify maintenance of test scripts and promote reuse using structured test script writing.

  • Automating unit testing, integration testing, and system/regression testing

  • Managing the automated testing process for optimal efficiency

  • The book also includes a complete sample automation project plan, covering documentation, implementation, the automation environment, roles, responsibilities, and much more.

    Table of contents

    1. Copyright
    2. About the Series
    3. About the Series Editor
    4. Selected Titles from the Yourdon Press Series
    5. Preface
    6. What Is Just Enough Test Automation?
      1. No New Models, Please!
      2. How Much Automation Is Enough?
      3. Testing Process Spheres
      4. Support Activities
      5. A Test Automation Group's Scope and Objectives
      6. Test Automation Framework Deliverables
      7. Categories of Testing Tools
      8. Conclusion
      9. References
    7. Knowing When and What to Automate
      1. In General
      2. When to Automate System Tests
      3. What to Automate
      4. A Word About Creating Test Scripts
      5. Conclusion
      6. References
    8. Start at the Beginning, Define the Test Requirements, Design the Test Data
      1. Software/Test Requirements
      2. Requirements Gathering and Test Planning Automation
      3. From Software Requirement to Test Requirement to Test Condition: An Automated Approach
      4. Requirements Management and Traceability
      5. Functional Test Data Design
      6. Requirements-Based Approaches
      7. Hybrid (Gray Box) Approaches
      8. Code-Based Approaches
      9. Conclusion
      10. References
    9. A Look at the Development of Automated Test Scripts and at the Levels of Test Automation
      1. Developing Automated Test Scripts
      2. Recording versus Programming Test Scripts
      3. Conclusion
      4. References
    10. Automated Unit Testing
      1. Introduction
      2. Unit Testing Justification
      3. The Unit Testing Process
      4. A Rigorous Approach to Unit Testing
      5. The Unit Test Specification
      6. Unit Testing Tasks
      7. Rules of Thumb for Unit Testing
      8. Unit Testing Data
      9. A Unit Testing Framework
      10. Conclusion
      11. References
    11. Automated Integration Testing
      1. Introduction
      2. What Is Integration Testing?
      3. The Daily Build Smoke Test
      4. Build Smoke Test Objectives
      5. Automated Build Smoke Test Checklist
      6. Conclusion
      7. References
    12. Automated System/Regression Testing Frameworks
      1. The Data-Driven Approach
      2. Framework-Driven (Structured) Test Scripts
      3. Business Rules Test
      4. GUI Test
      5. Properties Test
      6. Input Data Test
      7. Formatting the Test Data File
      8. Application-Level Errors
      9. Building the External Data Input File
      10. Data File Summary
      11. Code Construction for the Business Rules Test
      12. Keep Your Code Clean and Robust
      13. Carl Nagle's DDE Framework
      14. Keith Zambelich's Test Plan Driven Testing Framework for Mercury Interactive Users
      15. Zambelich Approach Summary
      16. “Test Plan Driven” Method Architecture
      17. Conclusion
      18. References
    13. The Control Synchronized Data-Driven Testing Framework in Depth
      1. Creating Data-Driven Test Scripts
      2. Implementing the CSDDT Approach
      3. Common Problems and Solutions
      4. Setting Up Common Startup and Ending Test Conditions
      5. Modifying Recorded Code to Accept Input Data
      6. Very Important Practices
      7. Creating Functions for Common Operations—Isolating Command Objects
      8. Continuing with the Program Flow
      9. Using Multiple Input Records to Create a Test Scenario
      10. Utilizing Dynamic Data Input—Keyword Substitution
      11. Using Library or Include Files (*.sbh and *.sbl Files in Rational Robot)
      12. Utility Scripts
      13. Debugging Your Scripts—When the Test(s) Uncover a Defect
      14. Implementing the CSDDT Template Scripts
      15. The DDScripts
      16. SQABasic32 Include Files
      17. An Example of the CSDDT Framework
      18. Conclusion
      19. References
    14. Facilitating the Manual Testing Process with Automated Tools
      1. Introduction
      2. Semiautomated Manual Testing Process Steps
      3. Using the List Box
      4. Manual Testing Artifacts
      5. Conclusion
      6. References
    15. Managing Automated Tests
      1. Writing Effective Test Scripts and Test Data
      2. Managing Manual and Automated Test Scripts
      3. Test Suite Maintenance
      4. Conclusion
      5. References
    16. Data-Driven Automation: User Group Discussion
    17. Automated Testing Terms and Definitions
    18. Example Test Automation Project Plan Using Rational Suite TestStudio
      1. Introduction
      2. Documentation References
      3. Automation Implementation
      4. Automation Environment
      5. Organizational Structure
      6. External Interfaces
      7. Roles and Responsibilities
      8. Project Estimates
    19. Test Automation Project Work Plan Template
      1. Work Breakdown Structure
      2. Project Monitoring and Control
      3. Supporting Processes

    Product information

    • Title: Just Enough Software Test Automation
    • Author(s): Daniel J. Mosley, Bruce A. Posey
    • Release date: July 2002
    • Publisher(s): Pearson
    • ISBN: 0130084689