Are Compressions Checks Still Necessary?

Just curious to know if engine compression tests are still neccessary or desireable as part of a pre-purchase mechanics check on a used car, or does a good scan tool provide enough information without checking compression?

Thanks!

Dan…