Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurations sets #2462

Closed
ikalinin1 opened this issue Feb 10, 2022 · 1 comment · Fixed by #3626
Closed

Configurations sets #2462

ikalinin1 opened this issue Feb 10, 2022 · 1 comment · Fixed by #3626
Labels
feature New feature or request
Milestone

Comments

@ikalinin1
Copy link
Member

In order to simplify the management of multiple configuration sets in the same project, we need to introduce a mechanism to 'switch' active configuration.

For an example currently it could be solved via comments:

configuration.properties

## Android/Staging/Smoke
configuration.profiles=mobile_app/android
configuration.environments=staging
configuration.suites=smoke

## iOS/Regression/Prod
#configuration.profiles=mobile_app/ios
#configuration.environments=prod
#configuration.suites=regression

To simplify this we might support 'active' configuraiton

configuration-android-smoke-staging.properties

configuration.profiles=mobile_app/android
configuration.environments=staging
configuration.suites=smoke

configuration-ios-regression-prod.properties

configuration.profiles=mobile_app/ios
configuration.environments=prod
configuration.suites=regression

User will specify via test run arguments active configuration file, for example, ios-regression-prod will point VIVIDUS to load configuration-ios-regression-prod.properties configuration file.

@ikalinin1 ikalinin1 added the feature New feature or request label Feb 10, 2022
@ikalinin1
Copy link
Member Author

configuration-set.active=android-staging-smoke

Android/Staging/Smoke

configuration-set.android-staging-smoke.profiles=mobile_app/android
configuration-set.android-staging-smoke.environments=staging
configuration-set.android-staging-smoke.suites=smoke

iOS/Regression/Prod

configuration-set.ios-regression-prod.profiles=mobile_app/ios
configuration-set.ios-regression-prod.environments=prod
configuration-set.ios-regression-prod.suites=regression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants