Mocks with Test Engine
In the previous chapter, we introduced you to Azure DevOps pipelines and their application in testing automation. We discussed some key aspects, such as running canvas app tests created in Test Studio using the Azure Pipelines classic editor and YAML. Furthermore, we learned how to incorporate tests that were built in Test Engine into Azure DevOps pipelines.
In this chapter, we will shift our focus to another critical aspect of testing – mock testing, specifically in Test Engine. In essence, mock testing allows test authors to create imitations of network calls, emulating the dependencies their application relies on. This practice is especially valuable when Power Apps makes calls to connectors, as it enables an app to be tested without any modifications and mitigates unwanted effects from external services.
The following sections will guide you through various aspects of mock testing:
- What mock testing is in Test Engine: You’ll understand...