Linked e-resources
Details
Table of Contents
Intro
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Chapter 1: Introduction
For Whom This Book Is Applicable
How This Book Should Be Used
Why This Book Was Written
Credentials of the Author
Summary
Chapter 2: Preparing to Take the First Step
Road Map to Automated Unit Testing
Where We Are Now
Where We Are Going
Why We Are Going There
How We Are Going to Get There
Legacy Code
Calisthenics
Summary
Chapter 3: Software Quality
The Quality of Software
Assessing Software Quality
Summary
Chapter 4: The Origins of Automated Unit Testing
In the Beginning ...
The Emergence of xUnit
Features of xUnit
Phases of xUnit Tests
Writing xUnit Tests
Advantages of xUnit Tests
Summary
Quiz #1: xUnit Concepts
Multiple Choice: Select the Best Answer
True or False
Chapter 5: Automated Unit Testing with ABAP
ABAP Unit
The ABAP Unit Testing Framework
Requirements for Writing ABAP Unit Tests
Types of Components Applicable to Unit Testing
Testable ABAP Modularization Units
Automatic Generation of ABAP Unit Test Classes
ABAP Language Statements Related to Unit Testing
Writing an ABAP Unit Test
Using Fixture Methods
Invoking the Services of the ABAP Unit Testing Framework
ABAP Unit Test Runner
Unit Test Results Report
Initiating ABAP Unit Test Execution
Initiating Unit Tests from Within an ABAP Editor
Initiating Unit Tests from Outside an ABAP Editor
Evolution of the ABAP Unit Testing Framework
Challenges to Effectively Testing ABAP Code
Challenges Presented by Classic ABAP Event Blocks
Challenges Presented by Global Variables
Challenges Presented by the MESSAGE Statement
Challenges Presented by ALV Reports
Challenges Presented by Classic List Processing Statements
Challenges Presented by Open SQL Statements
Controlling the ABAP Unit Testing Framework
Client Category
Client Category Override
Unit Testing Configuration
Client Settings
Application Server Settings
Summary
Quiz #2: ABAP Unit Testing Concepts
Multiple Choice: Select the Best Answer
True or False
Chapter 6: Rudiments
Introducing a Simple Unit Test
Expanding Unit Test Coverage
Implementing Unit Tests for Function Modules
Implementing Unit Tests for Global Classes
ABAP Statements and Features Affecting Automated Unit Testing
Exploring the Effects of the MESSAGE Statement
Exploring the Effects of ALV Reports
Exploring the Effects of Classic List Processing Statements
How Automated Unit Testing Enables Confident Refactoring
Diagnosing the Absence of Sufficient Test Data
Creating and Using Fabricated Test Data
Gaining Control Over References to Modifiable Global Variables Within Subroutines
Summary
Chapter 7: Design for Testability
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Chapter 1: Introduction
For Whom This Book Is Applicable
How This Book Should Be Used
Why This Book Was Written
Credentials of the Author
Summary
Chapter 2: Preparing to Take the First Step
Road Map to Automated Unit Testing
Where We Are Now
Where We Are Going
Why We Are Going There
How We Are Going to Get There
Legacy Code
Calisthenics
Summary
Chapter 3: Software Quality
The Quality of Software
Assessing Software Quality
Summary
Chapter 4: The Origins of Automated Unit Testing
In the Beginning ...
The Emergence of xUnit
Features of xUnit
Phases of xUnit Tests
Writing xUnit Tests
Advantages of xUnit Tests
Summary
Quiz #1: xUnit Concepts
Multiple Choice: Select the Best Answer
True or False
Chapter 5: Automated Unit Testing with ABAP
ABAP Unit
The ABAP Unit Testing Framework
Requirements for Writing ABAP Unit Tests
Types of Components Applicable to Unit Testing
Testable ABAP Modularization Units
Automatic Generation of ABAP Unit Test Classes
ABAP Language Statements Related to Unit Testing
Writing an ABAP Unit Test
Using Fixture Methods
Invoking the Services of the ABAP Unit Testing Framework
ABAP Unit Test Runner
Unit Test Results Report
Initiating ABAP Unit Test Execution
Initiating Unit Tests from Within an ABAP Editor
Initiating Unit Tests from Outside an ABAP Editor
Evolution of the ABAP Unit Testing Framework
Challenges to Effectively Testing ABAP Code
Challenges Presented by Classic ABAP Event Blocks
Challenges Presented by Global Variables
Challenges Presented by the MESSAGE Statement
Challenges Presented by ALV Reports
Challenges Presented by Classic List Processing Statements
Challenges Presented by Open SQL Statements
Controlling the ABAP Unit Testing Framework
Client Category
Client Category Override
Unit Testing Configuration
Client Settings
Application Server Settings
Summary
Quiz #2: ABAP Unit Testing Concepts
Multiple Choice: Select the Best Answer
True or False
Chapter 6: Rudiments
Introducing a Simple Unit Test
Expanding Unit Test Coverage
Implementing Unit Tests for Function Modules
Implementing Unit Tests for Global Classes
ABAP Statements and Features Affecting Automated Unit Testing
Exploring the Effects of the MESSAGE Statement
Exploring the Effects of ALV Reports
Exploring the Effects of Classic List Processing Statements
How Automated Unit Testing Enables Confident Refactoring
Diagnosing the Absence of Sufficient Test Data
Creating and Using Fabricated Test Data
Gaining Control Over References to Modifiable Global Variables Within Subroutines
Summary
Chapter 7: Design for Testability