If your healthcare provider thinks you may have lung cancer, they will most likely order a number of tests. These tests can diagnose lung cancer and reveal the type of cancer, where it's located, and if, or how much, it has spread. Test results may also help your healthcare provider plan treatment.