- Dependency management and project management by using MAVEN
- API Testing using Rest Assured Library
- TestNG for testing workflow
- TestNG reports
- Code coverage using jococo
- GIT as distributed version-control system
- Logging via Log4j
- Property Reader to read Test data from properties files.
- Custom assertion to print custom message when assertion fails.
- Maven is configured in such a way that will run different testNG.xml provided at run time.
- Used dataProvider to create multiple user, post and comments, reading test data from excel sheet
- Code tested on CI/CD Jenkins
- Java version above 1.8.
- Maven version above 3.0.
- TestNG 6.14.3
- RestAssured 4.0.0 and above
- google gson-simple 2.8.5
- Jacoco 0.8.2
- Jackson
- APache POI
- Please extract the project at your desired path.
- Go to
/src/main/resources/testdata/TestData.xlsx
and update Quotes, and user test data as much as you want to create new user and create new post - Open the command prompt and go to the project path.
- Run the command "mvn clean install"
- All the automated test cases in the testNG.xml will be executed.
- Go to the root directory under
/test-output/emailable-report.html
- All code coverage reports are saved under
/target/jacoco-ut/
Note: Test cases and issues with these API are available in Testcases.xlsx
for your reference.