This is a project using Rest Assured to test API. I used the public API https://reqres.in/, so you can be easy to touch, apply and learn others' APIs. You can reach me.
- Java 1.8
- Rest Assured 4.5.1
- JUnit 4.12
- Maven 3.8
- Extent reports 5.0.9
- Lombok 1.18.20
- Java faker 1.0.2
You can open each test class on src\test\java\mainStream and execute a specific test you want to run( You to need configure build path to Junit4 on Eclipse).
- The test suites can be run directly by your IDE or by command line. If you run mvn test all the tests will execute because it's the regular Maven lifecycle to run all the tests: mvn test.
- To run different suites based on the groups defined for each test you must inform the property. The example below shows how to run the test for each pipeline stage: mvn -Dtest=LoginTest test