This question already has an answer here:
I am deploying some classes to UAT which have a code coverage over 80 % but deployment fails with the message "Your code coverage is 50%. You need at least 75% coverage to complete this deployment. DeactivateUsers" I cannot understand why it happening as I checked it a dozen of times that code coverage is well above required limit. What should be my next step to counter this problem
Note I am deploying only 3 classes not all the classes via Change Set and with test class in it and running only that test class during deployment.