function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sdondetisdondeti 

Force.com IDE Deployment question

Hi, I was deploying some apex code from one sandbox to another using Force.com IDE and the deployment was successful. But when I ran unite tests in the target org, the tests  failed due to some missing data. I was under the impression that that Force.com IDE would run all unit tests before deploying the code to target environment. Can you please give your input on how to make sure it runs all tests before the deployment..I even clicked on the "Validate Deployment" button before the deployment. Thanks.
bob_buzzardbob_buzzard
Are these unit tests from a managed package, or part of your namespace?  Also, could the data have been there when the deployment took place but has since changed?