Most don't have a diesel engine compression test set and most of the time, some educated guessing while knowing the condition of the injector valves and pumps as well as watching the exhaust and blow-by from the crankcase breather will get you to the same place as the actual compression numbers. CAT did recommend a cylinder blow-down test where compressed air is plumbed into the cylinder while the piston is at TDC compression stroke, so both valves are closed. The official CAT test apparatus had a specific sized orfice and a regulator to regulate pressure resulting in a range of numbers to compare with other engines, but a lot of good information can be gained by simply putting the air pressure to it and listening for leakage from intake and exhaust valves in their respective manifolds as well as rings/piston problems by listening in the crankcase and also looking in the radiator for bubbles.
D2-5J's, D6-9U's, D318 and D333 power units, 12E-99E grader, 922B & 944A wheel loaders, D330C generator set, DW20 water tanker and a bunch of Jersey cows to take care of in my spare time😄