The diagnosis of asthma in children generally involves a thorough medical history, a physical examination, and lung function tests such as spirometry. In younger children who may not be able to perform these tests, a diagnosis is often based on symptom patterns and response to treatment.