Back to main README
Install and setup ReportPortal as a central server in your organisation
- Update reportportal.properties with the appropriate reportportal server and team information
You can enable sending reports to reportportal in 2 ways:
- In reportportal.properties, set
rp.enable=true
, or - Set environment variable
RP_ENABLE=true
and then run the tests [Running the tests with gradle command] ExampleRP_ENABLE=true TARGET_ENVIRONMENT=prod TEST_TYPE=workflow ./runAPIWorkflowTests.sh RP_ENABLE=true TARGET_ENVIRONMENT=prod TEST_TYPE=workflow ./gradlew clean test
To enable logging test results to reportportal, you can:
-
Change the reportportal.properties file
rp.enable=true
-
Enable it from command line:
RP_ENABLE=true ./gradlew run
-
Enable it from config.properties file:
RP_ENABLE=true ./gradlew run
Back to main README