cancel
Showing results for 
Search instead for 
Did you mean: 

Integration Testing in OCC

stefanweis
Explorer
0 Kudos

Is there any by SAP recommended way for integration testing the OCC REST Endpoints? Does SAP Commerce Cloud come with anything related to this or do I have to implement this myself? Does anyone have some experience with this?

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

samuelyang
Product and Topic Expert
Product and Topic Expert

Hi Stefan,

Did you notice the commercewebservicestests extension, where you can find a whole bunch of test cases already implemented using the Spock testing framework.

stefanweis
Explorer
0 Kudos

Thank you, this is what I was looking for!

andycapotan
Member
0 Kudos

Hi samuel.yang,

I'de really appreaciate if you could tell me why ycommercewebservicestest and not yocctests?

Answers (1)

Answers (1)

samuelyang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Andy,

The yocctests is an extension template, which can be used to create new testing extensions. While the commercewebservicestests is a regular extension, the yocctests template actually depends on commercewebservicestests.

The actual testing codes are implemented in the commercewebservicestests, which can be used as a reference.