Creating OData Tests
This section describes how to generate the test itself once you have analyzed the service and created the ABAP access class, as part of an OData service test in eCATT.
Prerequisites
Procedure
- You can change the test class name, the test class description, the test data container (TDC), or the TDC description simply by clicking them or by using the relevant option in the context menu.
- You can skip the generation and later use of test data containers by deselecting this option in the the Generate TDC column.
- Choose Generate to generate the test classes and, if required, the TDCs.
Results
If you have generated test data containers, these are used in the generated tests. The test data is used as check values in retrieve scenarios and as templates in create scenarios. The generated test data containers each contain a parameter for the assigned entity set. This parameter is typed according to the assigned ABAP structure. This enables you to maintain the test data in the data structure of the entity set. All the data records of the entity set that the service provider provided at the time of generation are saved in the variants of the TDC.
Note the status messages for the generation in the application log.