Yes, it most certainly does, especially if you work out on a consistent basis. Lifting heavy weights is the best way to boost testosterone levels, especially if you perform compound lifts like the squat, deadlift, and bench press.  Still, any form of exercise is good for you, and should help keep your testosterone at a healthy level.