You need to be 'residing' in them for a year...then it is your PRINCIPAL residence that you are selling. No tax!
Be careful, it's not as cut and dry as you say, and yes you do pay tax, so that comment is completely wrong. Yes you can move into a rental property you own and claim it to be your principal residence, however you now are deemed to have sold your rental property at the fair market value at the time you moved in, and the difference between the fair market value and what you paid for the rental property initially is your capital gains.
50% of your gain is tax free and you then pay tax on the remaining 50% capital gain based on your income tax bracket.
Remember, you're only allowed one principal residence at any point in time in your life, that includes one principal residence for a couple as well, ie. wife can't have one and you have one principal residence as well.
To reduce the capital gains you can increase the ACB as Timbit suggested, ie. new roof, carpeting, etc.... If you've done any upgrades in the past don't forget to add it to your purchase price to get your ACB. This will reduce your capital gains, but whatever the gain is you will always pay tax, in your tax bracket, on 50% of your gain. This assumes you have no capital losses from previous real estate deals, which if you did would help to reduce your gains.
I've sold many properties and had a lot of advice from various accountants and former CRA auditors who have become consultants in this area, they really know what they're talking about. I know you're just fishing to see if anyone has any golden ideas for you, but ultimately I'm sure you'll go to an expert for professional advice.
The above is if you want to do things legally, of course you can ignore everything and not report anything and take your chances, lmao. Good luck.