From: "Pedro CĂ´rte-Real" Date: 2006-07-27T23:49:32+09:00 Subject: Wrapped method causing infinite recursion in rcov I added this to my rails test helper to check for valid HTML automatically: # Wrap around get to check the markup on :success requests. alias_method :old_get, :get def get(*args) old_get(*args) if @response.success? assert_valid_markup end end This works fine with my tests. When running rcov though it creates infinite recursion in the call to old_get. Has anyone tried anything of the sort? Is it a bug in rcov? Pedro.