The probability that the test will give the correct diagnosis is captured by the positive and negative predictive values.
The positive predictive value (PPV) of a test is the proportion of people with a positive screening test who will have cancer.
The negative predictive value (NPV) of a test is the proportion of people with negative test result who do not have cancer.