templateTestingintermediate
Create MUnit tests for a flow
Generate MUnit tests covering happy path, invalid input, and service failure with mocked dependencies.
(0 reviews)
0 forksMC
by MuleSoft CommunityPrompt
Create MUnit tests for the {{flow_name}} flow. Add one test for the happy path, one test for invalid input, and one test for a downstream service failure. Mock the external dependencies, use sample event payloads, and verify the expected response payload and status code in each case.
Community Results
0 people tried this
Sign in to share your experience with this prompt.
Variables
| Name | Description | Default |
|---|---|---|
| {{flow_name}} | Name of the Mule flow to test | — |
Tags
munittestingmocks
