Metraipolis › archive › dc_80e428636a08
ABAP Unit — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/ABAP_Unit
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-11-06T23:22:50.296Z
- SHA-256 of the archived text
9259ff55c2270cd1b84ce09c94d5c7fa950a90f7ed75fc665084a0d3d594a1d9- Stable URL of this page
https://metraipolis.com/documento/dc_80e428636a08
How to cite
ABAP Unit — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/ABAP_Unit (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_80e428636a08 (Metraipolis archive dc_80e428636a08, sha256 9259ff55c2270cd1b84ce09c94d5c7fa950a90f7ed75fc665084a0d3d594a1d9)
BibTeX
@misc{dc80e428636a08,
title = {ABAP Unit — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/ABAP_Unit},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_80e428636a08; sha256 9259ff55c2270cd1b84ce09c94d5c7fa950a90f7ed75fc665084a0d3d594a1d9},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/ABAP_Unit. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
ABAP Unit is the xUnit adoption for the ABAP language. ABAP Unit is directly embedded into the ABAP development environment and into the ABAP runtime environment. In ABAP Unit tests are test methods in dedicated test classes. A test class may contain several test methods. The optional methods SETUP() and TEARDOWN() offer the possibility to manage the context of the unit tests. Usually test classes are local classes within the program under tests. The domain code and the test code share this way the same life cycle and are always in sync. The test code can exercise the domain code of the program but not vice versa. This restriction is checked by ABAP runtime system and ensures the pattern "no test code in productive code". Test execution for single programs is possible from within the editors. Newer versions of ABAP Unit (>= SAP_BASIS 7.02) offer an integration with coverage metrics and a report to schedule automatic test execution with mail notification. ABAP Unit offers no feature to define test suites programmatically. Mass runs for entire packages can be executed with the Code Inspector integration only. A mocking framework inspired by the fluent interface of EasyMock is provided with the ABAP class CL_ABAP_TESTDOUBLE. Test seams (since ABAP release 7.50) allow rewriting productive code during unit tests. This allows, for example, database accesses or RFC calls to be overwritten in unit tests. Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico). Fonte: Wikipedia in inglese, voce «ABAP Unit» — https://en.wikipedia.org/wiki/ABAP_Unit Wikidata Q286530: «Part of the ABAP programming language» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q286530 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/ABAP_Unit?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1348033946, consultata il 2026-11-06T23:19:19.612Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 6d89a99fac5c189e6aad9a4d164e8bbcbc4d78ef9bbe0a11183781aa62098156