Compatibility testing involves collecting samples from patients and donors, performing ABO and Rh blood typing on the samples, screening for unexpected antibodies, and conducting a cross-match test between donor red blood cells and patient serum to ensure donor blood is compatible and will not be destroyed upon transfusion to the patient. Proper identification of patient and donor samples is crucial to avoid clerical errors.