The API Test Rig Commons is a shared code base that is used for the execution of module-wise automation API tests. This uses Java REST Assured and TestNG frameworks to automate testing for different modules like Pre-registration, Masterdata, Partner Management, PMS, ID Repository, IDA, Resident, E-Signet, and Mimoto.
Ensure the following software is installed on the machine from where the automation tests will be executed:
- Java 11
- Maven 3.6.0 or higher
- Lombok (Refer to Lombok Project)
- Git Bash 2.18.0 or higher
settings.xml
needs to be present in the.m2
folder.
settings.xml
file needs to be present in two places:- Regular Maven conf folder
- Copy the same
settings.xml
under/usr/local/maven/conf
- Clone or download the repository as a zip file from GitHub.
- Unzip the contents.
- Continue with the steps below from a terminal (Linux) or command prompt (Windows).
- Copy the git link:
https://github.com/mosip/mosip-functional-tests
- On your local system, open Git Bash at any location.
- Run the following command:
git clone https://github.com/mosip/mosip-functional-tests
- cd ../apitest-commons
mvn clean install -Dgpg.skip=true -Dmaven.gitcommitid.skip=true
This project is licensed under the terms of Mozilla Public License 2.0