What is the best practice when it comes to testing "infinite loops"? What is the best practice when it comes to testing "infinite loops"? ruby ruby