{"id":15019108,"url":"https://github.com/sap-samples/abap-test-isolation-examples","last_synced_at":"2025-10-24T03:32:04.089Z","repository":{"id":193562602,"uuid":"688135934","full_name":"SAP-samples/abap-test-isolation-examples","owner":"SAP-samples","description":"The samples in this repository demonstrate how test isolation can be achieved in ABAP. It does this by giving examples for the available tools the ABAP Platform.","archived":false,"fork":false,"pushed_at":"2023-11-30T10:16:46.000Z","size":41,"stargazers_count":9,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-10T02:23:37.121Z","etag":null,"topics":["abap","abap-development","abap-oo","isolation","sample","sample-code","samples","test-automation","testing","testing-tools","tests"],"latest_commit_sha":null,"homepage":"","language":"ABAP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAP-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-09-06T18:16:05.000Z","updated_at":"2024-07-23T13:16:36.000Z","dependencies_parsed_at":"2023-12-20T14:10:32.970Z","dependency_job_id":"48180d2c-e361-43f9-8cd4-8013906b139e","html_url":"https://github.com/SAP-samples/abap-test-isolation-examples","commit_stats":{"total_commits":14,"total_committers":4,"mean_commits":3.5,"dds":0.4285714285714286,"last_synced_commit":"55f5f9c58797b9cefd3191fea59875f2f681ea49"},"previous_names":["sap-samples/abap-test-isolation-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fabap-test-isolation-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fabap-test-isolation-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fabap-test-isolation-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fabap-test-isolation-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-samples","download_url":"https://codeload.github.com/SAP-samples/abap-test-isolation-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219866820,"owners_count":16555824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abap","abap-development","abap-oo","isolation","sample","sample-code","samples","test-automation","testing","testing-tools","tests"],"created_at":"2024-09-24T19:52:59.901Z","updated_at":"2025-10-24T03:31:58.785Z","avatar_url":"https://github.com/SAP-samples.png","language":"ABAP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ABAP Test Isolation Examples\n[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/abap-test-isolation-examples)](https://api.reuse.software/info/github.com/SAP-samples/abap-test-isolation-examples)\n\nThis repository contains examples for all currently available test isolation tools in the ABAP Platform. \n\n## The Idea\nThe idea of this repository is to show how to use any test environment, helper class and some common design patterns that help with isolating your code under test from its depended-on components.\n\n## How To Use This Repository\nIf you want to isolate your code under test from the components it uses, you need to take a look at what your depended-on component is. Each isolation technique for a specific kind of depended-on component is used separate test class of the global class ZATI_CL_CODE_UNDER_TEST. \nThe table below shows which test class uses which tool to isolate against which kind of depended-on component.\n\nTest Class | Depended-On Component | Tool | First Release\n----- | ----- | ------ | ------\nltc_call_other_object | Classes | Self-made test doubles | With ABAP OO\nltc_call_other_object_fw | Classes | [ABAP Object Oriented Test Double Framework](https://help.sap.com/docs/ABAP_PLATFORM/c238d694b825421f940829321ffa326a/804c251e9c19426cadd1395978d3f17b.html?locale=en-US) | SAP BASIS 740 SP9\nltc_call_function_module | Function Modules | [Function Module Test Double Framework](https://help.sap.com/docs/SAP_S4HANA_CLOUD/25cf71e63940453397a32dc2b7676947/75964f284aa9435da40c4d82e111f276.html?locale=en-US) | SAP NetWeaver 756\nltc_select_database_table | Database Tables and CDS Entities | [ABAP SQL Test Double Framework](https://help.sap.com/docs/ABAP_PLATFORM/c238d694b825421f940829321ffa326a/1432ca1fc7b547d493f691cdd09245ae.html?locale=en-US) | SAP NetWeaver 752\nltc_select_cds_entity | Database Artefacts which are used in CDS | [ABAP CDS Test Double Framework](https://help.sap.com/docs/ABAP_PLATFORM_NEW/c238d694b825421f940829321ffa326a/cbedc08ff4de48ffa8d04d3067ef08e7.html?locale=en-US) | SAP NetWeaver 751\nltc_call_authority_check | Authority Checks | [Classic ABAP Authority Check Test Helper API](https://help.sap.com/docs/ABAP_PLATFORM_NEW/c238d694b825421f940829321ffa326a/6500d4d8f89a4743a6c0513d659a475b.html?locale=en-US) | SAP NetWeaver 755\nltcl_call_rap_bo_tx_bf_dbl | RAP Business Objects | [Transactional Buffer Double Support](https://help.sap.com/docs/SAP_S4HANA_CLOUD/25cf71e63940453397a32dc2b7676947/0337944d45994a3ba7482421cdfe36c8.html) | SAP NetWeaver 757\nltcl_call_rap_bo_mock_eml_api | RAP Business Objects | [Mock EML API Support](https://help.sap.com/docs/SAP_S4HANA_CLOUD/25cf71e63940453397a32dc2b7676947/4fa0e8a6ea0d4c45bec1afdc1ac6bd49.html?locale=en-US) | SAP NetWeaver 757\n\n## Requirements\nYou need a system with an ABAP runtime and [abapGit](https://github.com/abapGit/abapGit).\n\n## Download and Installation\nYou can pull the code with [abapGit](https://github.com/abapGit/abapGit) to any system with an ABAP runtime.\n\n## How to obtain support\n[Create an issue](https://github.com/SAP-samples/abap-test-isolation-examples/issues) in this repository if you find a bug or have questions about the content.\n \nFor additional support, [ask a question in SAP Community](https://answers.sap.com/questions/ask.html).\n\n## Code of Conduct\nIf you want to contribute to this repository, please check our [Code of Conduct](https://github.com/SAP-samples/abap-test-isolation-examples/blob/main/CODE_OF_CONDUCT.md).\n\n## Contributing\nPlease feel free to check our [Contribution-Guide](https://github.com/SAP-samples/abap-test-isolation-examples/blob/main/CONTRIBUTING.md).\n\n## License\nCopyright (c) 2023 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fabap-test-isolation-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap-samples%2Fabap-test-isolation-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fabap-test-isolation-examples/lists"}