A sample test automation framework
./gradlew -DPETSTORE_URL=https://petstore.swagger.io/v2 -DincludeTags=pet,store clean test allureReport allureServe --info --stacktrace
- Start Report Portal
docker-compose -f report-portal/docker-compose.yaml up
- Get
rp.uuid
- Open Report Portal UI http://localhost:8080/ui/#login
- Login as Default user with password 1q2w3e
- Open Profile
- Copy
rp.uuid
fromCONFIGURATION EXAMPLES
section
- Enable Report Portal and add
rp.uuid
parameter to run tests command
./gradlew -Drp.enable=true -Drp.uuid=%UUID% -DPETSTORE_URL=https://petstore.swagger.io/v2 -DincludeTags=pet,store clean test --info --stacktrace
./gradlew clean assemble --info --stacktrace
java -DPETSTORE_URL=https://petstore.swagger.io/v2 -jar build/libs/petstore.integration.tests.jar -p io.github.timofeevvt -t pet -t store --reports-dir test-results --disable-ansi-colors