That's when you look at other factors like past performance, including (but certainly not limited to) performance on his / her pupils' standardized tests. Like any other hiring process, it's not always perfect, but you also learn along the way which characteristics make for great teachers (responding to feedback, ability to engage with students, timeliness, etc.).