teach to the test
Short definition from Wiktionary
Verb
- To teach in preparation for a standardized test, focusing narrowly on the material that will appear in the test.
We haven’t written up teach to the test yet: Simple and Standard meanings, examples and a quiz.