ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 28 - Certified MuleSoft Developer II discussion

Report
Export

In a Mule project, Flow-1 contains a flow-ref to Flow-2 depends on data from Flow-1 to execute successfully.

Which action ensures the test suites and test cases written for Flow-1 and Flow-2 will execute successfully?

A.
Chain together the test suites and test cases for Flow-1 and Flow-2
Answers
A.
Chain together the test suites and test cases for Flow-1 and Flow-2
B.
Use ''Set Event to pass the input that is needed, and keep the test cases for Flow-1 and Flow-2 independent
Answers
B.
Use ''Set Event to pass the input that is needed, and keep the test cases for Flow-1 and Flow-2 independent
C.
Use ''Before Test Case'' To collect data from Flow-1 test cases before running Flow-2 test cases
Answers
C.
Use ''Before Test Case'' To collect data from Flow-1 test cases before running Flow-2 test cases
D.
Use 'After Test Case' to produce the data needed from Flow-1 test cases to pass to Flow-2 test cases
Answers
D.
Use 'After Test Case' to produce the data needed from Flow-1 test cases to pass to Flow-2 test cases
Suggested answer: B

Explanation:

To ensure the test suites and test cases written for Flow-1 and Flow-2 will execute successfully, the developer should use a Set Event processor to pass the input that is needed by Flow-2, and keep the test cases for Flow-1 and Flow-2 independent. This way, the developer can isolate the testing of each flow and avoid coupling them together.

Reference: https://docs.mulesoft.com/munit/2.3/munit-test-flow

asked 23/09/2024
Hari Krishnan
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first