With the development of automatic provision and deployment libraries in Jenkins for system and E2E test automation, it is required to refactor system tests. These should be adapted to allow remote execution in the remote environment provisioned by Jenkins.
General refactor requirements
Allow custom remove execution using the --inventory-path pytest argument
Move from docker provisioning custom cases or test module configuration to fixture-based (changing manager/agent configuration or local_internal_option )
Combine environment if possible
If applicable, extend support to non-Linux operating systems
If applicable, create custom roles for testing
Create environment deployment/provisioning file for Jenkins automation
Description
With the development of automatic provision and deployment libraries in Jenkins for system and E2E test automation, it is required to refactor system tests. These should be adapted to allow remote execution in the remote environment provisioned by Jenkins.
General refactor requirements
--inventory-path
pytest argumentEnvironment list