Best Practices for Test Automation within Preview Environments
Currently I am working on a project where we want to integrate CI/CD with Continuous Testing. Therefor we want to use the following flow.
This means we want to test on all different environments where the endpoints of test/acceptance and production will stay the same. However before a change is merged to the test environment a preview enviroment will be created where testers can test on, but also where Tosca is integrated and testevents will be executed. However for every pull request a different environment with a different endpoint is created.
What are the best practices to provide the variable endpoint to the testevent to make sure the testcases are executed on the right environment? We are using Microsoft Azure with Docker for the Build Pipeline.