SAP Knowledge Base Article - Preview

2560520 - How to Execute Test Cases for a Backoffice Custom Extension

Symptom

With a customized Backoffice extension, activate the Junit Tenant on the platform, try to execute its test cases by using the following command:
ant allunittests "-Dtestclasses.extensions=custombackoffice" , logs display "No test found!"

unittests.png

The issue is for the backoffice custom extension there are 2 locations where tests can be added: myextension/backoffice/testsrc and myextension/testsrc. The tests created under myextension/backoffice/testsrc fail to get detected.


Read more...

Environment

Hybris commerce versions  6.3, 6.4 and 6.5

Product

SAP Hybris Commerce 6.3

Keywords

Hybris commerce, test, backoffice, back office, unit test, allwebtests, unittests  , KBA , CEC-COM-CPS-CKP , Cockpits & hMC , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.