Magnetic compass testing involves checking fluid levels, dome clarity, magnet alignment, and deviation. A qualified technician inspects the compass aboard ship or in workshop conditions, then performs a deviation swing. A deviation card is issued post-testing, as per DG Shipping rules.