Why is a highly coupled module difficult to unit test?
Answers
Answered by
8
Two modules are said to be highly coupled when:
-function calls between two modules involve & shared large chunk of data.
-interaction occurs through shared data.
When two modules interchange large amounts of data, then they are highly interdependent.
The degree of coupling between two modules depends on their interface complexity.
The interface complexity is determined based on the parameter, no. of parameter etc. Therefore, Module with low coupling is better.
Similar questions