Up to 8 hours of fasting can boost your testosterone level, but testosterone is negligible compared to your previous level. You can add small exercises into your fasting to increase the testosterone levels more.