Heartworm testing refers to a procedure done to check if a dog or cat has been infected with heartworms, which are parasitic worms that live in the heart and blood vessels.