The purpose of this project is to perform automated tests on the API Registration of People.
- Java 13
- Maven
- TestNG
- Json Schema Validator
- Jackson Databind
- Java Faker
- Clone the Registration of People - Client project
- Run the
mvn clean install
command
-
Health Check - Validate that the API is in UP status
-
Contract Test - Validate the contract of attributes established for the endpoint
-
Functional Test - Validate that the endpoint returns the expected data
-
Acceptation Test - Validate that the set of endpoints work together
The test suites can be executed via the command line, being necessary to inform the execution environment:
mvn clean test -Dsuite=Contract -Denvironment=Homolog
mvn clean test -Dsuite=Functional -Denvironment=Dev