As of April 1, 2017, the Ontario government will cover the cost of emissions testing of your car.
There are some wrinkles, for example, the government will not pay for a retest if you vehicle failed the first test and you made repairs.
Go to the government website for more details.
Click Government of Ontario.