Diagnosing asthma begins with the physician compiling a complete medical history including information about the home and work environment and performing a physical examination. Lung function tests are also performed to assess the amount of airway obstruction, along with allergy tests to identify whether allergic triggers are present. In some cases, lab tests and x-rays may also be used.