[HN Gopher] Differential Coverage for Debugging
       ___________________________________________________________________
        
       Differential Coverage for Debugging
        
       Author : todsacerdoti
       Score  : 37 points
       Date   : 2025-04-25 16:01 UTC (6 hours ago)
        
 (HTM) web link (research.swtch.com)
 (TXT) w3m dump (research.swtch.com)
        
       | Jtsummers wrote:
       | https://www.debuggingbook.org/html/StatisticalDebugger.html
       | 
       | A related method. Not quite as straightforward as running with
       | and without the failing test and comparing coverage reports. This
       | technique goes through and collects many test runs and identifies
       | lines only associated with or most often associated with failing
       | runs.
        
       | drewcoo wrote:
       | I had no idea this had (or was worthy of) a name.
       | 
       | That's the whole point of coverage diffs.
       | 
       | The tough ones are the tests that sometimes fail and give you the
       | same coverage results - the problem is not in the code under
       | test! And the lazy/common things to do are re-run the test or add
       | a sleep to make things "work."
        
       ___________________________________________________________________
       (page generated 2025-04-25 23:00 UTC)