When & how do we test a CHILD suspected for COVID INFECTION?

"If there is a close contact with or without symptoms. So what is a close contact? Close contact is a person who is positive for covid 19 infection and within 6 weeks we have and encounter. So children with or without symptoms we have to test for covid19"