Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.21 KB

ReportPortal.md

File metadata and controls

38 lines (24 loc) · 1.21 KB

Back to main README


ReportPortal

Setup

Install and setup ReportPortal as a central server in your organisation

Configure test framework

Enable sending reports to reportportal

You can enable sending reports to reportportal in 2 ways:

  1. In reportportal.properties, set rp.enable=true, or
  2. Set environment variable RP_ENABLE=true and then run the tests [Running the tests with gradle command] Example

    RP_ENABLE=true TARGET_ENVIRONMENT=prod TEST_TYPE=workflow ./runAPIWorkflowTests.sh RP_ENABLE=true TARGET_ENVIRONMENT=prod TEST_TYPE=workflow ./gradlew clean test

reportportal.properties

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