使用SAP CRM mock框架进行单元测试的设计

  1. 云栖社区>
  2. 汪子熙>
  3. 博客>
  4. 正文

使用SAP CRM mock框架进行单元测试的设计

jerrywangsap 2020-05-07 20:21:54 浏览547
展开阅读全文

There is an interface IF_CRM_PRODUCT_PROXY in CRM which declares almost all function modules from function group COM_PRODUCT_API for product master access.

This interface is implemented by three classes below.

CL_CRM_PRODUCT_PROXY will delegate the call to MOCK_PROXY( for unit test ) or REAL_PROXY( for productive use ) according to different mode in which the code is ru

网友评论

登录后评论
0/500
评论
jerrywangsap
+ 关注
所属团队号: 汪子熙