Edit

Share via


TestWorkflowOutputParameter class

Namespace: Microsoft.Azure.Workflows.UnitTesting.Definitions

This class represents the output parameter for a unit test flow when a Standard logic app workflow runs during test execution. The output parameter includes its type, value, description, and any associated error information.

Usage

// Check output parameter value
Assert.AreEqual(expected: "Test", actual: testFlowRun.Outputs["outputName"].Value.Value<string>());

// Check output error
Assert.IsNull(flow.Outputs["outputName"].Error);

Properties

Name Description Type Required
Type The type of the output parameter TestFlowTemplateParameterType? No
Value The value of the output parameter JToken No
Description The description of the output parameter string No
Error The operation error TestErrorInfo No