Appendix – using PAC CLI to execute tests defined in a Test Plan file
In this appendix, we will explore the use of PAC CLI, also known as pac cli, to execute tests defined in a Test Plan file for canvas Power Apps apps. We’ve been working with the Test Engine executable that we compiled in Chapter 6, but a recent announcement introduces a new way to execute these tests using the pac tests run
command included in the pac client.
Note
This feature has just been announced and is currently in the public preview phase, which means it’s subject to change. Please refer to the official documentation for any updates (https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/tests).
Before we begin, it’s necessary to install the PAC CLI. You can use either or both of the following methods for installation:
- Install using Power Platform Tools for Visual Studio Code: This method enables the use of commands within a PowerShell terminal...