Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author McDonough, James E.

Title Automated unit testing with ABAP : a practical approach / James E. McDonough. [O'Reilly electronic resource]

Imprint Berkeley, CA : Apress, 2021.
QR Code
Description 1 online resource (395 pages)
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
Note Changing the Production Path to Enable Automated Testing.
Summary Write automated unit tests for the ABAP language. This book teaches programmers using simple examples and metaphors and explains the underlying concepts of writing effective automated unit tests. Many, if not most, ABAP programmers learned their programming and testing skills before the ABAP development environment provided an automated unit testing facility. Automated Unit Testing with ABAP: A Practical Approach offers hope and salvation to ABAP programmers who continue to toil with antiquated manual unit testing processes, taking them by the hand and lifting them out of that dungeon of despair with a modern and proven alternative. It begins by explaining how the xUnit family of automated testing frameworks provides a quick and effective means of insuring high-quality software. It then focuses on the ABAP Unit Testing Facility, the xUnit framework applicable specifically to the ABAP language, showing how it can be used to bring ABAP applications under automated testing control, from old legacy applications to those newly written. Whereas xUnit testing has been widely accepted with developers writing in many other programming languages, it is an unfortunate fact in the ABAP community that many programmers still are unfamiliar with xUnit concepts and do not know how to begin implementing automated unit testing into their development process. This book demonstrates how to refactor programs so they become designed for testability, showing how to use process encapsulation and test isolation to facilitate automated testing, including a thorough explanation of test-driven development and the use of test doubles. The book: Shows how to write automated unit tests for ABAP Instills ABAP programmers with the confidence to refactor poorly written code Explains how an automated testing harness facilitates rapid software development Teaches how to utilize test-driven development (TDD) with ABAP Offers advice and tips on the best ways to write automated unit tests You will: Become familiar with the xUnit approach to testing Know the ABAP statements that interfere with running automated unit tests and how to accommodate them Understand what it means to isolate code for testing and how this is achieved Gain the confidence to refactor poorly written code Make ABAP programs designed for testability Reap the benefits of spending less time manually unit testing ABAP programs Use test-driven development (TDD) with ABAP programming Use configurable test doubles in ABAP.
Note Includes index.
Subject Computer software -- Testing.
Computer software -- Testing
Other Form: Print version: McDonough, James E. Automated Unit Testing with ABAP. Berkeley, CA : Apress L.P., ©2021 9781484269503
ISBN 9781484269510 (electronic bk.)
1484269519 (electronic bk.)
Standard No. 10.1007/978-1-4842-6951-0 doi
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information