answersLogoWhite

0

Unit test can be done within a single module

Cohesion of a single module/component is the degree to which its responsibilities form a meaningful unit; higher cohesion is better.

Someone had vague reference to decomposability here. Clarification?

How about: 'Cohesion is inversely proportional to the number of responsibilities a module/component has.'

Coupling between modules/components is their degree of mutual interdependence; lower coupling is better.

size: number of connections between routines

intimacy: the directness of the connection between routines

visibility: the prominence of the connection between routines

flexibility: the ease of changing the connections between routines

A first-order principle of software architecture is to increase cohesion and reduce coupling.

so having coupling in program is not correct

reduce coupling in your program it will favour Unit testing......

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao

Add your answer:

Earn +20 pts
Q: Why is highly coupled module difficult to unit test?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Electrical Engineering

Why is a highly coupled module difficult to unit test?

Unit test can be done within a single moduleCohesion of a single module/component is the degree to which its responsibilities form a meaningful unit; higher cohesion is better.Someone had vague reference to decomposability here. Clarification?How about: 'Cohesion is inversely proportional to the number of responsibilities a module/component has.'Coupling between modules/components is their degree of mutual interdependence; lower coupling is better.size: number of connections between routinesintimacy: the directness of the connection between routinesvisibility: the prominence of the connection between routinesflexibility: the ease of changing the connections between routinesA first-order principle of software architecture is to increase cohesion and reduce coupling.so having coupling in program is not correctreduce coupling in your program it will favor Unit testing· 3 years agoUnit test can be done within a single moduleCohesion of a single module/component is the degree to which its responsibilities form a meaningful unit; higher cohesion is better.Someone had vague reference to decomposability here. Clarification?How about: 'Cohesion is inversely proportional to the number of responsibilities a module/component has.'Coupling between modules/components is their degree of mutual interdependence; lower coupling is better.size: number of connections between routinesintimacy: the directness of the connection between routinesvisibility: the prominence of the connection between routinesflexibility: the ease of changing the connections between routinesA first-order principle of software architecture is to increase cohesion and reduce coupling.so having coupling in program is not correctreduce coupling in your program it will favors Unit testing


Is an ekg technician practice test hard?

its a difficult test to pass if you do not study first like most test you need to have proper knowledge of the test being taken but also a good paying job.


How test resistances?

we can measure the resistance if we know the voltage and current passing through a line (V=IR)AnswerYou can measure its approximate resistance using an ohmmeter, but ohmmeters aren't particularly accurate. A better way would be to use a Wheatstone Bridge, which is highly accurate.


What are precommissioning tests of transformers?

magnetising current test, magnetising balance test, s.c test, vector group test, winding resistance test, ratio test


What is pressure test for transformmer and how to test?

On installed transformer a test is performed to check weather it has any oil leakage or not, the test is called pressure test, more precisely pressure leakage test.