Closed bheemreddy181-zz closed 5 years ago
Projects names configures in the Report Portal application. In your launches you can specify project name in config file or as environment variable rp_project.
What if my repo has both functional tests written in cucumber and unit tests written in rpsec which rely on same work space , i can have only one project name on one repo, no more than that
like this :
uuid: e07bc990-cd3b-4f24-9a62-d7860008b2e0
endpoint: http://report_portal.dev.com:8080/api/v1
project: frontend_staging_tests
launch: Integration_tests
tags: [frontend_tests,Integration_tests]
is_debug: false
@aliaksandr-trush ^
Answer the same - set project name as environment variable (cli parameter).
As @aliaksandr-trush said different configuration settings can be provided via:
rp_config
environment variable)RP_PROJECT
)If you have stable setups (like frontend and integration tests) you can create rake tasks that preset these environment variables and run cucumber.
We can discuss a better idea if you have it.
Is there a way i can use different project names for rspec and cucumber tests ?