ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 44 - MCPA - Level 1 discussion

Report
Export

What correctly characterizes unit tests of Mule applications?

A.
They test the validity of input and output of source and target systems
Answers
A.
They test the validity of input and output of source and target systems
B.
They must be run in a unit testing environment with dedicated Mule runtimes for the environment
Answers
B.
They must be run in a unit testing environment with dedicated Mule runtimes for the environment
C.
They must be triggered by an external client tool or event source
Answers
C.
They must be triggered by an external client tool or event source
D.
They are typically written using MUnit to run in an embedded Mule runtime that does not require external connectivity
Answers
D.
They are typically written using MUnit to run in an embedded Mule runtime that does not require external connectivity
Suggested answer: A, B, C, D

Explanation:

Answer: They are typically written using MUnit to run in an embedded Mule runtime that does not require external connectivity.

*****************************************

Below TWO are characteristics of Integration Tests but NOT unit tests:

>> They test the validity of input and output of source and target systems.

>> They must be triggered by an external client tool or event source.

It is NOT TRUE that Unit Tests must be run in a unit testing environment with dedicated Mule runtimes for the environment.

MuleSoft offers MUnit for writing Unit Tests and they run in an embedded Mule Runtime without needing any separate/ dedicated Runtimes to execute them. They also do NOT need any external connectivity as MUnit supports mocking via stubs.

https://dzone.com/articles/munit-framework

asked 18/09/2024
Rama Krishna
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first