Ansicht
Dokumentation

CRM_PME_UNIT_TEST - Include CRM_PME_UNIT_TEST

CRM_PME_UNIT_TEST - Include CRM_PME_UNIT_TEST

rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This class is used for unit testing of the RFC function modules of function groups CRM_PME_RFC and CRM_PME_RFC_DEPS. Please note: Many tests just check whether an RFC command was called succesfully; These tests do not check whether the specified data was processed correctly.

Integration

Most tests need to run actions that were already run in other tests , which means that some methods are called multiple times.

For example, createclass is called within its own unit test and is called in method assignclass, because there must be a class to assign. For this reason, we have "helper" methods (those ending with "_"). This is done because the sequence in which the methods/unit tests are called cannot be specified.

To have consistent test cases, in most cases, we use global variables that store the test data and are accessed from all unit test methods that need them. Usually for each test case, a new knowledge base runtime is generated, overwriting the one from recent tests.

Prerequisites

Features

Selection

Standard Variants

Output

Activities

Example






CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1375 Date: 20240520 Time: 054519     sap01-206 ( 37 ms )