Example test suite for the SigFig.com Login API using rest-assured and JUnit.
- Java JDK version 8 or higher to be installed. To check installation:
$ java -version openjdk version "11.0.14.1" 2022-02-08 OpenJDK Runtime Environment Temurin-11.0.14.1+1 (build 11.0.14.1+1) OpenJDK 64-Bit Server VM Temurin-11.0.14.1+1 (build 11.0.14.1+1, mixed mode)
- IntelliJ IDE
Gradle runs on all major operating systems assuming you have Java installed.
./gradlew clean test
gradlew.bat clean test
After the test run, reports can be found in the build/reports/tests
directory.
- Rest-Assured User Guide
- JSON Path Finder (useful for validating JSON responses)