Rest assured cucumber based Behaviour driven development style, API automation project for automating the - https://favqs.com/api
This project has tests for the LIST QUOTES and Fav Quotes end points automated.
- Maven
- Cucumber-JVM
- JUnit
- Java 8
- TestNG
- Log4j
- Rest-assured
- Gson
- Json
- Fasterxml-jackson
In order to utilise this project you need to have the following installed locally:
- Maven 3
- Java 1.8
- You will need to create an account to generate an api key at https://favqs.com/api
The project is broken into separate modules for API testing.
To run all modules, navigate to quotes-api-automation directory and run:
- Navigate to /src/test/java/com/hmh/cucumber/ directory and right click on CucumberRunner java file or Alternatively run below commands from the terminal
- mvn clean
- mvn install
- mvn test
- Go to reports/cucumber-html-report and open the index.html file in a browser to view the test results in readable format
- Add extenstsreport plugin for reporting
- Parameterize tests to run based on tags
- Framework improvements for Design patterns usage