Tahanima / reqres-api-test-automation

ReqRes API Test Automation using Java and REST Assured

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReqRes API Test Automation

ReqRes API Test Automation using Java and REST Assured.

Installation Steps

  1. Fork the repository.
  2. Clone, i.e, download your copy of the repository to your local machine using
git clone https://github.com/[your_username]/reqres-api-test-automation.git
  1. Import the project in IntelliJ IDEA.
  2. Use IntelliJ IDEA to run your desired tests. Alternatively, you can use the terminal to run the tests, for example ./gradlew test.

Languages and Frameworks

The project uses the following:

Project Architecture

πŸ“¦ reqres-api-test-automation  
β”œβ”€ .github  
β”‚  β””─ workflows  
β”‚     β””─ test-execution.yml  
β”œβ”€ .gitignore  
β”œβ”€ LICENSE  
β”œβ”€ README.md  
β”œβ”€ build.gradle  
β”œβ”€ gradle  
β”‚  β””─ wrapper  
β”‚     β”œβ”€ gradle-wrapper.jar  
β”‚     β””─ gradle-wrapper.properties  
β”œβ”€ gradlew  
β”œβ”€ gradlew.bat  
β”œβ”€ settings.gradle  
└─ src  
   β”œβ”€ main  
   β”‚  β””─ java  
   β”‚     β””─ io  
   β”‚        β””─ github  
   β”‚           β””─ tahanima  
   β”‚              β”œβ”€ client  
   β”‚              β”‚  β”œβ”€ AuthClient.java  
   β”‚              β”‚  β”œβ”€ BaseClient.java  
   β”‚              β”‚  β”œβ”€ ResourceClient.java  
   β”‚              β”‚  β””─ UserClient.java  
   β”‚              β””─ model  
   β”‚                 β”œβ”€ Auth.java  
   β”‚                 β”œβ”€ Error.java  
   β”‚                 β”œβ”€ List.java  
   β”‚                 β”œβ”€ Resource.java  
   β”‚                 β”œβ”€ ResourceData.java  
   β”‚                 β”œβ”€ ResourceList.java  
   β”‚                 β”œβ”€ Support.java  
   β”‚                 β”œβ”€ User.java  
   β”‚                 β”œβ”€ UserData.java  
   β”‚                 β””─ UserList.java  
   β””─ test  
      β”œβ”€ java  
      β”‚  β””─ io  
      β”‚     β””─ github  
      β”‚        β””─ tahanima  
      β”‚           β””─ api  
      β”‚              β”œβ”€ AuthTest.java  
      β”‚              β”œβ”€ ResourceTest.java  
      β”‚              β””─ UserTest.java  
      β””─ resources  
         β””─ junit-platform.properties  

About

ReqRes API Test Automation using Java and REST Assured

License:MIT License


Languages

Language:Java 100.0%