Hereditary cancer testing is a genetic test that assesses whether an individual was born with a gene not working (mutated) that increases the chance of developing specific cancers.