All of the standardized testing to measure school performance was a misapplication of an industrial technique. Deming in WWII then Japan in the 50s then the US again in the 80's taught a system of continuous improvement. Find ways to do things better (not just products) by giving people the tools they need to make improvements. Harness pride of workmanship.
One of the tools is measuring your results. How can you tell what the problems are or if you made any improvements if you don't measure? It what industry does when it test widgets, it's what teachers have been doing for decades when you get a pop quiz.
Extending measurements to compare teachers and schools makes sense ... if you are using it to figure our what works and doesn't work. Famous Deming quote: "You get what you measure." Well, that also applies to how you use the measurement. Use it wrong, and you get something like his red/black bead experiment: http://maaw.info/DemingsRedbeads.htm Basically, you create a weird system of rewards and punishments that doesn't work and demoralizes everyone.
Alternately, you can measure how kids are doing over time, look for patterns, try to figure out the cause of the patterns, and make improvements that offer a better education. To date, almost no one is doing that. Teachers and schools get rewarded and punished based on instantaneous snapshots of test results.
So everyone freaks and figures they just need more testing and higher stakes. Double down. Administrators implement flavor of the week programs hoping something will magically work. Teachers teach to the test knowing that bad results are punished, but mediocre results get rewarded as much as outstanding results. And we go no where.
Unfortunately, the correct way to do things requires lots of data. Years of data. Hard mathematical analysis. Deep thinking. Training teachers, administrators, and students based on what you learn. Give people power to make things better, rather than micromanage. Oh, and make hard decisions like firing teachers or ending programs or telling parent that little Timmy is not going to be a neurosurgeon but would be a great electrician or making classes harder if that's what needs to be done. Stuff no one wants to do.