Running tests and accessing results
To start testing, we need to open Command Prompt, change to the directory where the TestEngine GitHub repository was downloaded, and locate the src
folder. Go into the PowerAppsTestEngine
folder with the project that we want to run.
The key steps are as follows:
- Open Command Prompt.
- Navigate to
<downloaded_repo_path>\src\PowerAppsTestEngine
. - Run the
PowerAppsTestEngine
project.
Figure 7.8 – Folder of the TestEngine project
This is the same folder in which we should have the config.dev.json
file, as described in the initial requirements section. Note that in this file, we are specifying different folders to locate the test file and the output directory, in addition to the tenant ID and environment ID of the app.
Take note of the output directory you have specified, as we will inspect this folder after the test run.
Now, let’s initiate the test execution. In our case, we...