Test subflows with test suite

Important

As of October 2026, this content is archived and no longer maintained. Information on this page may not reflect the latest product plans, features, or guidance. For current roadmap information across Dynamics 365, Power Platform, Dataverse, Microsoft 365, and Copilot, visit the roadmap. Continue to use Microsoft Learn for authoritative product guidance and documentation.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically - May 13, 2026

Business value

Validating desktop flows end‑to‑end is difficult when you can’t test subflows independently. With enhanced unit testing in Power Automate desktop, you create test cases for subflows and verify logic in isolation, improving test coverage and reducing the risk of regressions during deployment.

Feature details

The Power Automate desktop test suite enhancement expands the Power Automate desktop testing framework to support creating and running test cases for subflows. Makers can define inputs, expected outputs, and assertions at the subflow level, following the same behavior-driven development (BDD) structure used for desktop-flow test cases. The framework records results and error details in the console and designer.

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

Create and manage test cases for desktop flows (docs)