As of 2019, how do doctors test for diabetes?

If they are other test(s), what are they?