Hello @Siegfried Heintze
To automate integration testing for Azure Resource Protected by Private End Points, you can use Azure DevOps pipelines. You can create a pipeline that deploys your Bicep file and runs automated tests against the deployed resources. Here are the steps you can follow to create an automated test pipeline:
- Create an Azure DevOps project and repository.
- Create a pipeline that deploys your Bicep file to your Azure subscription.
- Add a task to the pipeline that runs your automated tests against the deployed resources. You can use tools like Selenium or Appium to automate the testing of your web app.
- Configure the pipeline to trigger on a git push to master.
- If the tests fail, you can configure the pipeline to fail the build and prevent a pull request from being merged.
- There are several testing frameworks available for Azure Functions, including the one you mentioned in your question. You can also use tools like Postman or Newman to test your API endpoints.
I hope this helps