diff options
author | vasraz <vasyl.razinkov@est.tech> | 2019-10-15 10:23:08 +0100 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-01-26 09:17:08 +0000 |
commit | cb7a00bf89efca5b784120e990f79c475347e89d (patch) | |
tree | 2e434c227f7ac2bf3ba024f9496ded1f399554b9 /test-apis-ci/src/main/resources/ci/testSuites/resource.xml | |
parent | c113cc3f10f72013a66c2eb5a52ab8460da196f9 (diff) |
Increase junit TCs
1. Re-enable disabled TCs (enable = true)
2. Enable @Ignored TCs
3. Add some Assert when missing
4. Remove old unused TCs (covered in UI)
Change-Id: I900e52f4860b1fdc5bd1e529a1fe7f5c3491465b
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2672
Diffstat (limited to 'test-apis-ci/src/main/resources/ci/testSuites/resource.xml')
-rw-r--r-- | test-apis-ci/src/main/resources/ci/testSuites/resource.xml | 467 |
1 files changed, 108 insertions, 359 deletions
diff --git a/test-apis-ci/src/main/resources/ci/testSuites/resource.xml b/test-apis-ci/src/main/resources/ci/testSuites/resource.xml index 313fbb26db..4fd0e43a02 100644 --- a/test-apis-ci/src/main/resources/ci/testSuites/resource.xml +++ b/test-apis-ci/src/main/resources/ci/testSuites/resource.xml @@ -1,374 +1,123 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="Sanity" configfailurepolicy="continue" > - - <!-- - <listeners> - <listener class-name="org.openecomp.sdc.ci.tests.config.InvokedMethodListener" /> - </listeners> - --> - +<suite name="Sanity" configfailurepolicy="continue"> <test verbose="2" name="Sanity"> <classes> - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ArtifactServletTest"> - <methods> - <include name="upadteArtifactWithPayLoadToResourcseTest"/> - <include name="createAndUpdateArtifactToInterface"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.CrudArt"> - <methods> - <include name="addHeatArtifactToResourceAndCertify"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.LCS_Artifacts"> - <methods> - <include name="LCS_inherit_artifact"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.InformationalArt"> - <methods> - <include name="UpdateAllResourceMandatoryArtifacts"/> - <include name="updateInformationalArtifactMetadataOfResource"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.InformationalArtCloudQuestionnaire"> - <methods> - <include name="updateMandatoryInformationalArtifact_CloudQuestionnaire"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ServiceApiArtifactTest"> - <methods> - <include name="uploadServiceApiArtifactSuccessfullyTest"/> - <include name="updateApiArtifactSuccessfullyTest"/> - <include name="deleteApiArtifactSuccessfully"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ServiceInformationalArtifact"> - <methods> - <include name="updateMandatoryInformationalArtifact_ServiceQuestionnaire"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateArtResponse"/> - - <class name="org.openecomp.sdc.ci.tests.execute.category.CatalogDataApiTest"/> - - <class name="org.openecomp.sdc.ci.tests.execute.category.ElementsApiTest"> - <methods> - <include name="getAllArtifactTypes"/> - <include name="getConfiguration"/> - <include name="getAllPropertyScopesSuccess"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.distribution.AuthanticationTests"> - <methods> - <include name="downloadServiceArtifactSuccessWithAutantication"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.distribution.DistributionDownloadArtifactTest"> - <methods> - <include name="downloadResourceArtifactSuccess"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.general.BasicHttpAuthenticationTest"> - <methods> - <include name="sendAuthenticatedRequestTest_success"/> - </methods> - </class> - - - - <class name="org.openecomp.sdc.ci.tests.execute.general.FeProxyTest"/> - <class name="org.openecomp.sdc.ci.tests.execute.general.ManageEcompConsumerCredentials"> - <methods> - <include name="deleteEcompCredentialsMethodDelete"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.general.UuidTest"> - <methods> - <include name="testE2EUuidHeaderReturnedAndPreserved"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportGenericResourceCITest"> - <methods> - <include name="importAllTestResources"/> - <include name="testImportCheckoutAndUpdateUserResource"/> - <include name="testImportWithUpdateNormativeType"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportNewResourceCITest"> - <methods> - <include name="importAllTestResources_toValidateNewAPI"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportToscaResourceTest"> - <methods> - <include name="importToscaResource"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CleanupIntermediateReources"> - <methods> - <include name="test28"/> - <include name="test29"/> - <include name="test30"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CleanupIntermediateServicesTest"> - <methods> - <include name="testCleanupIntermediateServices"/> - </methods> - </class> - - - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_cerificationCITest"> - <methods> - <include name="verifyAllPrevVerDeleted"/> - <include name="verifyStartWithDesignerCertByAdmin"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_CheckInCITest"> - <methods> - <include name="checkInTest_suc"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_CheckOutCITest"> - <methods> - <include name="checkOutTest_currState_READY_FOR_CERTIFICATION_ownerDSIGNER_performByADMIN_suc"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_request4CerCITest"> - <methods> - <include name="req4cer_fromCheckOut_designer_admin"/> - </methods> - </class> + <class name="org.openecomp.sdc.ci.tests.execute.category.CatalogDataApiTest"/> + + <class name="org.openecomp.sdc.ci.tests.execute.distribution.AuthanticationTests"> + <methods> + <include name="downloadServiceArtifactSuccessWithAutantication"/> + </methods> + </class> + + <class + name="org.openecomp.sdc.ci.tests.execute.distribution.DistributionDownloadArtifactTest"> + <methods> + <include name="downloadResourceArtifactSuccess"/> + </methods> + </class> + + <class name="org.openecomp.sdc.ci.tests.execute.general.FeProxyTest"/> + + <class name="org.openecomp.sdc.ci.tests.execute.general.UuidTest"> + <methods> + <include name="testE2EUuidHeaderReturnedAndPreserved"/> + </methods> + </class> + + <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportGenericResourceCITest"> + <methods> + <include name="importAllTestResources"/> + <include name="testImportCheckoutAndUpdateUserResource"/> + <include name="testImportWithUpdateNormativeType"/> + </methods> + </class> + + <class name="org.openecomp.sdc.ci.tests.execute.property.AdditionalInformationServletTest"> + <methods> + <include name="createResourceAdditionalInformationTestDuringLifecycle"/> + <include name="updateResourceAdditionalInformationTest"/> + <include name="deleteResourceAdditionalInformationTest"/> + </methods> + </class> + + <class name="org.openecomp.sdc.ci.tests.execute.property.PropertyApisTest"> + <methods> + <include name="testPropertyApis"/> + </methods> + </class> + + <class name="org.openecomp.sdc.ci.tests.execute.resource.GetAllResourceVersions"> + <methods> + <include name="getResourceAllVersions_version15"/> + </methods> + </class> - - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_StartCertificationCITest"> - <methods> - <include name="startCer_suc"/> - </methods> - </class> + <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceApiTest"> + <methods> + <include name="updateResourceMetadataSuccess"/> + </methods> + </class> - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_UndoCheckOutCITest"> - <methods> - <include name="undoCheckOutTest_import_outAdmin_undoOut_designer"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceCertWithMandatoryArt"> - <methods> - <include name="CertServiceWithHeatDeployArtOnResource"/> - </methods> - </class> + <class name="org.openecomp.sdc.ci.tests.execute.resource.UpdateResourceMetadataTest"> + <methods> + <include name="UpdateDerivedFromSuccess"/> + </methods> + </class> - <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceCertWithResourceInstances"> - <methods> - <include name="certServiceWithCertResource"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.property.AdditionalInformationServletTest"> - <methods> - <include name="createResourceAdditionalInformationTestDuringLifecycle"/> - <include name="updateResourceAdditionalInformationTest"/> - <include name="deleteResourceAdditionalInformationTest"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.property.PropertyApisTest"> - <methods> - <include name="testPropertyApis"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.property.PropertyServletTest"> - <methods> - <include name="createCascadeVfResource"/> - <include name="createPropertyTestSetClearDefaultValueInetegr"/> - </methods> - </class> - - - <class name="org.openecomp.sdc.ci.tests.execute.resource.GetAllLatestVersionNonAbstarctResources"> - <methods> - <include name="resourceCertifiedTwiceCoutCinCout"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.resource.GetAllResourceVersions"> - <methods> - <include name="getResourceAllVersions_version15"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.resource.GetFollwedElementsTest"> - <methods> - <include name="getResourcesListBolongsToSpecificDesigner"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceAbstractApiTest"> - <methods> - <include name="getAbstractResourceList"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceNotAbstractApiTest"> - <methods> - <include name="getNotAbstractResourceList"/> - </methods> - </class> + <class name="org.openecomp.sdc.ci.tests.execute.service.GetComponentAuditApiTest"> + <methods> + <include name="testServiceAuditCertifiedVersion"/> + </methods> + </class> - <class name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceTagsApiTest"> - <methods> - <include name="getModifiedResourceTagsList"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceApiTest"> - <methods> - <include name="updateResourceMetadataSuccess"/> - </methods> - </class> - <!-- - <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceInstanceNameCRUD"> - <methods> - <include name="updateResourceInstanceNameAfterServiceCertification"/> - </methods> - </class> - --> -<!-- <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceInstanceServletTest"> - <methods> - <include name="updateRI_suc"/> - </methods> - </class> --> + <class name="org.openecomp.sdc.ci.tests.execute.user.ActivateDeActivateDeleteUser"> + <methods> + <include name="authorizeDeActivatedUser"/> + </methods> + </class> - <class name="org.openecomp.sdc.ci.tests.execute.resource.UpdateResourceMetadataTest"> - <methods> - <include name="UpdateDerivedFromSuccess"/> - </methods> - </class> - + <!-- Product tests start--> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest"> + <methods> + <include name="checkInProductByCreator"/> + </methods> + </class> - <class name="org.openecomp.sdc.ci.tests.execute.service.GetComponentAuditApiTest"> - <methods> - <include name="testServiceAuditCertifiedVersion"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.service.ServiceApiTest"> - <methods> - <include name="createServiceTest"/> - <include name="getFollowedServicesTester"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.service.ServiceInformationalArtifactApiTest"> - <methods> - <include name="addArtifactSuccessfuly"/> - <include name="deleteArtifact"/> - <include name="updateArtifactMetadataSuccessfully"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.service.UpdateServiceMetadataTest"> - <methods> - <include name="updateServiceSuccessfully"/> - </methods> - </class> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest"> + <methods> + <include name="checkOutProductByPmNotInContacts"/> + </methods> + </class> - - <class name="org.openecomp.sdc.ci.tests.execute.user.ActivateDeActivateDeleteUser"> - <methods> - <include name="authorizeDeActivatedUser"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.user.CreateUserApiTest"> - <methods> - <include name="createUser"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.user.GovernorWorkspaceApiTest"> - <methods> - <include name="governorList_AllCertifiedVersionsOfService"/> - </methods> - </class> - - <class name="org.openecomp.sdc.ci.tests.execute.user.OpsWorkspaceApiTest"> - <methods> - <include name="opsList_AllCertifiedVersionsOfServiceApproved"/> - </methods> - </class> - - <!-- Product tests start--> - <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest"> - <methods> - <include name="checkInProductByCreator"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.product.ChangeServiceInstanceVersionTest"> - <methods> - <include name="changeServiceInstanceVersionByPm"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest"> - <methods> - <include name="checkOutProductByPmNotInContacts"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.product.ProductComponentInstanceCRUDTest"> - <methods> - <include name="createServiceInstanceTest"/> - <include name="deleteServiceInstanceByPm"/> - <include name="updateServiceInstanceNameByPm"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCrudTest"> - <methods> - <include name="createManyGroupingsDiffCategories"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest"> - <methods> - <include name="followedPageTest"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest"> - <methods> - <include name="undoCheckOutProductByPm"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.interfaceoperation.InterfaceOperationsTest"> - <methods> - <include name="addInterfaceOperationsOfGlobalTypeOnResource"/> - <include name="addInterfaceOperationsOnResource"/> - <include name="getInterfaceOperationsFromResource"/> - <include name="updateInterfaceOperationsOnResource"/> - <include name="deleteInterfaceOperationsFromResource"/> - <include name="addInterfaceOperationsOfGlobalTypeOnPNFResource"/> - <include name="addInterfaceOperationsOnPNFResource"/> - <include name="getInterfaceOperationsFromPNFResource"/> - <include name="updateInterfaceOperationsOnPNFResource"/> - <include name="deleteInterfaceOperationsFromPNFResource"/> - </methods> - </class> - <!-- Product tests end--> - </classes> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest"> + <methods> + <include name="followedPageTest"/> + </methods> + </class> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest"> + <methods> + <include name="undoCheckOutProductByPm"/> + </methods> + </class> + <class name="org.openecomp.sdc.ci.tests.execute.interfaceoperation.InterfaceOperationsTest"> + <methods> + <include name="addInterfaceOperationsOfGlobalTypeOnResource"/> + <include name="addInterfaceOperationsOnResource"/> + <include name="getInterfaceOperationsFromResource"/> + <include name="updateInterfaceOperationsOnResource"/> + <include name="deleteInterfaceOperationsFromResource"/> + <include name="addInterfaceOperationsOfGlobalTypeOnPNFResource"/> + <include name="addInterfaceOperationsOnPNFResource"/> + <include name="getInterfaceOperationsFromPNFResource"/> + <include name="updateInterfaceOperationsOnPNFResource"/> + <include name="deleteInterfaceOperationsFromPNFResource"/> + </methods> + </class> + <!-- Product tests end--> + </classes> </test> <!-- Test --> </suite> <!-- Sanity --> |