The ultimate goal
Everything this book has gone over from start to this point has been with the ultimate goal of deploying our code to a Production environment, and having end users use our fancy-schmancy new code and functionality. Assuming that you have written something useful, with the appropriate test coverage, tested without using seealldata
, accounting for different user profiles, and using system.asserts
to ensure that the data is as we expect it to be after our code runs and assuming that you have at least 75 percent average for the instance, we can now go over the process of deploying. You will need your credentials for the Production environment for this. The steps are as follows:
Select the components for deployment in Eclipse. These can include pages, components, objects, triggers, and classes.
You can select the entire directory, for example, the
classes
folder or a single component such as a single class or multiple classes.Be aware of dependencies between different components...