Why aren’t my tests stable? – Test Isolation with the ABAP Unit Framework

A lot of people develop ABAP code. And most of them tested it in some way.

In the light of agile software engineering becoming the common way of implementing software, automated testing is becoming more and more relevant, especially in the cloud. And with it, test isolation is of increasing importance to reduce runtime, improve stability, covering error cases, and simplifying error analysis. However, test isolation can be challenging, especially in closely coupled systems with a huge number of dependencies between components.

With the complexity arising from different components implemented by SAP, partners, or customers, this need for isolation is continuously growing. The ABAP Unit Framework is the usual way to go when implementing automated tests for ABAP code, may it be object-oriented software, function modules, CDS, BOPF, or RAP. And with this complexity and variety, there are lots of struggles coming with isolation of different aspects; but several tools exist to overcome these challenges as well.

In this session, I will give an overview about why test isolation is helpful and clarify terms in this area, leading to a quick introduction into the general concept of dependency injection, the core of test isolation. This will be followed by an overview about the current state of tools to help with common isolation challenges, such as isolation from function modules, authorization checks, database contents, and CDS entities.

We look forward to seeing you!!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To learn more about SAP User Groups go here: https://www.sap.com/about/customer-involvement/user-groups.html

Visit the SAP Knowledge Transfer for User Groups page for the all topics, expert content and more: https://webinars.sap.com/sap-user-groups-k4u/en/home

Check the schedule of all SAP User Group upcoming sessions and events: https://webinars.sap.com/sap-user-groups-k4u/en/upcoming ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Previous Next
Close
Test Caption
Test Description goes like this