Do you mind if I open issues where the cause might be a 740 SP20 backend?
Request using ADT:
<?xml version="1.0" encoding="UTF-8"?>
<aunit:runConfiguration xmlns:aunit="http://www.sap.com/adt/aunit">
<external>
<coverage active="false"/>
</external>
<adtcore:objectSets xmlns:adtcore="http://www.sap.com/adt/core">
<objectSet kind="inclusive">
<adtcore:objectReferences>
<adtcore:objectReference adtcore:uri="/sap/bc/adt/vit/wb/object_type/devck/object_name/%2fABC%2fPACKAGE"/>
</adtcore:objectReferences>
</objectSet>
</adtcore:objectSets>
</aunit:runConfiguration>
Request using sapcli ./sapcli aunit run package "/ABC/PACKAGE":
<?xml version="1.0" encoding="UTF-8"?>
<aunit:runConfiguration xmlns:aunit="http://www.sap.com/adt/aunit">
<external>
<coverage active="false"/>
</external>
<options>
<uriType value="semantic"/>
<testDeterminationStrategy appendAssignedTestsPreview="true" assignedTests="false" sameProgram="true"/>
<testRiskLevels critical="true" dangerous="true" harmless="true"/>
<testDurations long="true" medium="true" short="true"/>
</options>
<adtcore:objectSets xmlns:adtcore="http://www.sap.com/adt/core">
<objectSet kind="inclusive">
<adtcore:objectReferences>
<adtcore:objectReference adtcore:uri="/sap/bc/adt/packages/%2Fabc%2Fpackage"/>
</adtcore:objectReferences>
</objectSet>
</adtcore:objectSets>
</aunit:runConfiguration>
Result:
<?xml version="1.0" encoding="UTF-8"?>
<aunit:runResult xmlns:aunit="http://www.sap.com/adt/aunit">
<alerts>
<alert kind="noTestClasses" severity="tolerable">
<title>Aufgabendefinition bezieht sich auf keinen Test</title>
<stack/>
</alert>
</alerts>
</aunit:runResult>
It seems like my backend version requires the /sap/bc/adt/vit/wb/object_type/{type}/object_name/{name}-syntax to be used for packages?
Directly testing classes works fine ./sapcli aunit run class "/ABC/MY_CLASS".
Do you mind if I open issues where the cause might be a 740 SP20 backend?
Request using ADT:
Request using sapcli
./sapcli aunit run package "/ABC/PACKAGE":Result:
It seems like my backend version requires the
/sap/bc/adt/vit/wb/object_type/{type}/object_name/{name}-syntax to be used for packages?Directly testing classes works fine
./sapcli aunit run class "/ABC/MY_CLASS".