A cat in Mechanicsville has tested positive for rabies, according to a news release from the Virginia Department of Health.