This project is the bootstrap to start automating api testing, based on the Screenplay Pattern.
- JDK 1.8
- Gradle
- Serenity
- Rest Assured
- JSON Schema Validator
- Cucumber
It is necessary to have installed the Java JDK and Gradle, as well as the environment variables configured in the operating system: JAVA_HOME
and GRADLE_HOME
.
Then run the command gradle clean install
to download all the necessary dependencies.
To run the automated tests, run the following command in the Terminal: ./gradlew clean test --tests [runner] -Dcucumber.options="--tags @[tag]" aggregate --info
- Clone the repository
- Create your feature branch (
git checkout -b my-new-feature
) - Run the tests or make changes
- Commit your changes (
git add .
,Git commit -m "Add some feature"
) - Push the branch (
git push origin my-new-feature
) - Create a new pull request