© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
J. E. McDonoughAutomated Unit Testing with ABAPhttps://doi.org/10.1007/978-1-4842-6951-0_8

8. Test Doubles

James E. McDonough1  
(1)
Pennington, NJ, USA
 

The previous chapter covered the considerations associated with refactoring a program to encapsulate the processes that perform the exchange of indirect input and output from the rest of its processing. This was achieved through the use of object-oriented classes that could encapsulate the respective processes. Refactoring such components into object-oriented classes as opposed to simple subroutines or function modules is done for a specific reason. It is because we will need to be able to substitute components ...

Get Automated Unit Testing with ABAP: A Practical Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.