ReqRes API Test Automation using Java and REST Assured.
- Fork the repository.
- 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
- Import the project in IntelliJ IDEA.
- Use IntelliJ IDEA to run your desired tests. Alternatively, you can use the terminal to run the tests, for example
./gradlew test
.
The project uses the following:
📦 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