Steps to run locally -
-
Set up JAVA_HOME.
-
Verify if JAVA_HOME set up correctly by running the following 2 commands – a. echo %JAVA_HOME% b. java -version
-
Set up MAVEN_HOME.
-
Verify if MAVEN_HOME set up correctly by running the following 2 commands - a. echo %MAVEN_HOME% b. mvn -version
-
Clone the Git repository - https://github.com/Shreyasc27/YAddressRestApiAutomation.git
-
Execute command - cd YAddressRestApiAutomation
-
Execute command - mvn clean compile package install test
-
Execute command - cd target/surefire-reports
-
Open following 2 Html Reports - a. emailable-report.html b. YAddressRestApiAutomation.html
Integration with CircleCI -
YAddressRestApiAutomation execution is integrated with CircleCI.
Execution job can be viewed at - https://circleci.com/gh/Shreyasc27/YAddressRestApiAutomation/30
Execution result can be viewed at - https://30-161029561-gh.circle-artifacts.com/0/home/circleci/YAddressRestApiAutomation/target/surefire-reports/emailable-report.html
CircleCI can be triggered for execution by clicking Rerun workflow - Rerun workflow