Plan requirement
| Subscription | Suite Growth or higher, Support Professional or higher |
| Access | Admin |
Seeing exactly where the two differ. The report that tells you whether your test proved anything at all, and it is worth reading first.
Compare them
- Open Admin Center, then Account, then Sandbox, then Compare snapshots.
- Under Compare, select the first saved snapshot.
- Under To, select the second. The comparison generates as soon as both are chosen.
- Read what differs, and decide which differences matter for what you are testing.
Two things to have in place first
You are comparing two saved snapshots, not two live environments, so a snapshot of each has to exist before there is anything to compare. Taking one is the habit that makes this page useful.
You also need to be an admin in both environments. And the comparison is language sensitive: your own locale should match the locale of the environments, or the results are less reliable than they look.
Read it before testing, not after
Knowing that production has eleven triggers the sandbox does not tells you what your test cannot cover. Finding that out afterwards means repeating the work.
Differences fall into three kinds
- Drift. Somebody changed production and the sandbox never caught up. Usually the largest group.
- Your work in progress. Expected, and it should match what you think you built.
- Deliberate, such as email being disabled. Fine, and it should be written down.
Watch trigger order
Two environments can hold the same triggers in a different sequence and behave differently. This is the difference most easily missed and one of the more confusing to debug.
An unexpected difference is worth a pause
Something in production that nobody in the room recognises means somebody made a change that was not recorded. That is worth understanding before deploying anything on top of it.
Compare again before deploying
Production moves while you work. A comparison from last week does not describe what you are about to change.
Comments
0 comments
Article is closed for comments.