Editar

Partilhar via


pac test

(Preview) Execution of automated tests for a Power App

[This article is pre-release documentation and is subject to change.]

Important

  • The run command is in public preview.
  • Preview features aren't meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.

Note

With pac cli version 1.27, the pac tests command was changed to pac test. tests will continue to work, but we recommend using test going forward.

Learn more about test engine

Commands

Command Description
pac test run (Preview) Execute tests defined in a Test Plan file

pac test run

(Preview) Execute tests defined in a Test Plan file

Required Parameters for test run

--environment-id -env

Environment ID for the app to be tested.

--tenant -t

Tenant ID for the app being tested

--test-plan-file -test

Path to the Test Plan file

Optional Parameters for test run

--domain -d

The player domain for the app being tested

Use one of these values:

  • Public
  • Preview
  • UsGov
  • UsGovHigh
  • UsGovDoD
  • Mooncake

--output-directory -o

Path to save test output and logs

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview