templateTestingintermediate

Create MUnit tests for a flow

Generate MUnit tests covering happy path, invalid input, and service failure with mocked dependencies.

(0 reviews)
0 forks
MC
by MuleSoft Community

Prompt

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

NameDescriptionDefault
{{flow_name}}Name of the Mule flow to test

Tags

munittestingmocks

Reviews (0)

Sign in to leave a review.

No reviews yet. Be the first to share your experience!