There is a tiny framework with autotests for https://reqres.in/ service.
Used technologies:
- Java 11 (might be executed with java 8)
- TestNG as testing framework
- Retrofit 2.0 as HTTP client and API testing framework
- Gson as json converter
- Hamcrest lib for assertions
- Slf4j + logback for logging
- Surefire plugin for short test reports
-
Lombok plugin required File | Settings | Plugins | Marketplace | find "lombok" | install
-
Annotation processing required (check option):
File | Settings | Build, Execution, Deployment | Compiler | Annotation Processors |Enable annotation processing
- execute
maven clean testor any latest goal
You can view a short report after tests execution via Surefire. Destination: target -> surefire-reports.
- Maven - Dependency Management
We use SemVer for versioning.