Book Image

Learning Apex Programming

5 (1)
Book Image

Learning Apex Programming

5 (1)

Overview of this book

Table of Contents (17 chapters)
Learning Apex Programming
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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:

  1. 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...