For Loop Apex Unit Tests Before you can deploy your code to the production server, at least 75% of the code must be covered by tests, and they must pass. While running test, you have no access to live records. You need to create dummy records to work on temporarily to complete the test. Packages On managed packages, page layouts are not updated.