Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Unit testing BOPF operations

$
0
0

Dear BOPF Colleagues,

 

I would ask do you have any correct, working implementation, or PoC how to write correct unit test for BOPF CRUD operations without calling the determination event?

These CRUD operations are NOT actions under Business objects, we fill up the modification table with the corresponding BO operation code and then

call service manager modify and transaction manager save.

 

We have an normal ABAP class called Planning Profile API, which creates, updates, copies and deletes Planning Profile Object data via BOPF framework.

I tried to write ABAP unit test but either the determination is called on delete and the transaction manager doesnot save the deletion

or if I tried to mock service and transactionm manager it went into infinite loop in retieve of service manager.

 

 

Do you have any working iimplementation how to unit test a create-update-delete operation? Please help.

 

 

Thank you & regards,

Csaba


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>