-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1361 from nandhu-kumar/develop
MOSIP-36505 | Split the Testng report into pre-requisite and functional test
- Loading branch information
Showing
4 changed files
with
153 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 126 additions & 0 deletions
126
api-test/testNgXmlFiles/authenticationPrerequisiteSuite.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | ||
|
||
<suite name="Authentication Prerequisite Test Suite"> | ||
<!-- Passing Group as parmeter unsing "testType" Possible Groups are: smoke | ||
regression smokeAndRegression --> | ||
<listeners> | ||
<listener class-name="io.mosip.testrig.apirig.report.EmailableReport"/> | ||
</listeners> | ||
|
||
<test name="AddIdentity"> | ||
<parameter name="ymlFile" | ||
value="ida/AddIdentity/AddIdentity.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.AddIdentity" /> | ||
</classes> | ||
</test> | ||
<test name="CreateVID"> | ||
<parameter name="ymlFile" value="ida/CreateVID/CreateVid.yml" /> | ||
<parameter name="idKeyName" value="VID" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="UpdateIdentityForUin"> | ||
<parameter name="ymlFile" | ||
value="ida/UpdateIdentityForUin/UpdateIdentity.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.UpdateIdentity" /> | ||
</classes> | ||
</test> | ||
|
||
|
||
<test name="CreateDraft"> | ||
<parameter name="ymlFile" value="ida/CreateDraft/CreateDraft.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PostWithOnlyPathParam" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="GetDraft"> | ||
<parameter name="ymlFile" value="ida/GetDraft/GetDraft.yml" /> | ||
<parameter name="idKeyName" value="UIN" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenId" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="CreateDraftVID"> | ||
<parameter name="ymlFile" value="ida/CreateDraftVID/CreateDraftVID.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" /> | ||
</classes> | ||
</test> | ||
|
||
|
||
<test name="UpdateDraft"> | ||
<parameter name="ymlFile" value="ida/UpdateDraft/UpdateDraft.yml" /> | ||
<parameter name="pathParams" value="registrationId" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.UpdateDraft" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="PublishDraft"> | ||
<parameter name="ymlFile" value="ida/PublishDraft/PublishDraft.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParam" /> | ||
</classes> | ||
</test> | ||
<test name="GenerateVID"> | ||
<parameter name="ymlFile" | ||
value="ida/GenerateVID/createGenerateVID.yml" /> | ||
<parameter name="idKeyName" value="vid" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class | ||
name="io.mosip.testrig.apirig.testscripts.PostWithAutogenIdWithOtpGenerate" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="DeactivateVIDs"> | ||
<parameter name="ymlFile" value="ida/DeactivateUin/DeactivateUin.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="RevokeVID"> | ||
<parameter name="ymlFile" | ||
value="ida/RevokeVID/createRevokeVID.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PatchWithBodyWithOtpGenerate" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="AuthInternalLock"> | ||
<parameter name="ymlFile" | ||
value="ida/AuthInternalLock/AuthInternalLock.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePost" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="AuthLock"> | ||
<parameter name="ymlFile" | ||
value="ida/AuthLock/createAuthLock.yml" /> | ||
<parameter name="prerequisite" value="Yes" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PostWithBodyWithOtpGenerate" /> | ||
</classes> | ||
</test> | ||
|
||
</suite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters