Create a small automation suite:
- In Java/Kotlin
- No Gerkin
- Runs tests in parallel
Create printify account:
Go to Settings > Connections and generate an API token
API docs: https://developers.printify.com/#products
- User can create a product
- User can update a product
- User can delete a product
Use GET products
at least once to validate the result.
Implementation is made in Groovy language using Apache HTTP client, TestNG and Gradle build system.
NOTE: This implementation is a concept for such tests - in real world test suite author would implement several parts differently to account for scope increase, performance and targeted execution of selected set of tests.
At the root directory of the project run command gradlew clean test
(independent from OS).
Test report will be located at build/reports/tests/test/index.html